Skip to content

Commit a1055a9

Browse files
[SYCL][NFC] Fix warning inline namespace reopened as no-inline (#1435)
Signed-off-by: Alexey Sachkov <[email protected]>
1 parent d15de0b commit a1055a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sycl/include/CL/sycl/experimental/spec_constant.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#include <CL/sycl/detail/sycl_fe_intrins.hpp>
2121
#include <CL/sycl/exception.hpp>
2222

23-
namespace cl {
23+
__SYCL_INLINE_NAMESPACE(cl) {
2424
namespace sycl {
2525
namespace experimental {
2626

@@ -56,4 +56,4 @@ template <typename T, typename ID = T> class spec_constant {
5656

5757
} // namespace experimental
5858
} // namespace sycl
59-
} // namespace cl
59+
} // __SYCL_INLINE_NAMESPACE(cl)

0 commit comments

Comments
 (0)