Skip to content

Commit 5c92d5f

Browse files
Ruykbader
andauthored
Apply suggestions from code review
Co-authored-by: Alexey Bader <[email protected]>
1 parent bcd9a41 commit 5c92d5f

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sycl/include/CL/sycl/device_selector.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class device;
2020

2121
class __SYCL_EXPORT device_selector {
2222
protected:
23-
static const int REJECT_DEVICE_SCORE = -1;
23+
static constexpr int REJECT_DEVICE_SCORE = -1;
2424

2525
public:
2626
virtual ~device_selector() = default;

sycl/source/detail/program_manager/program_manager.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ RT::PiProgram ProgramManager::createPIProgram(const RTDeviceBinaryImage &Img,
324324

325325
if (!isDeviceBinaryTypeSupported(Context, Format))
326326
throw feature_not_supported(
327-
"SPIR-V Online compilation is not supported in this context",
327+
"SPIR-V online compilation is not supported in this context",
328328
PI_INVALID_OPERATION);
329329

330330
// Load the image

0 commit comments

Comments
 (0)