Skip to content

Commit ea525f0

Browse files
author
Alexander Batashev
committed
minor update
1 parent 3dce625 commit ea525f0

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

sycl/include/CL/sycl/detail/kernel_desc.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ __SYCL_INLINE_NAMESPACE(cl) {
1717
namespace sycl {
1818
namespace detail {
1919

20-
// This guard is needed because the libsycl.so can compiled with C++ <=14
20+
// This guard is needed because the libsycl.so can be compiled with C++ <=14
2121
// while the code requires C++17. This code is not supposed to be used by the
2222
// libsycl.so so it should not be a problem.
2323
#if __cplusplus > 201402L

sycl/source/detail/kernel_bundle_impl.hpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,8 @@ class kernel_bundle_impl {
248248

249249
void set_specialization_constant_raw_value(const char *SpecName,
250250
const void *Value) noexcept {
251+
// TODO add support for specialization constants, that are missing in any
252+
// device image.
251253
for (const device_image_plain &DeviceImage : MDeviceImages)
252254
getSyclObjImpl(DeviceImage)
253255
->set_specialization_constant_raw_value(SpecName, Value);

0 commit comments

Comments
 (0)