Skip to content

Commit 8803f62

Browse files
AlexeySachkovbader
authored andcommitted
[SYCL][NFC] Add missing __SYCL_INLINE (#1003)
One of the missed spots was introduced in #835, another one was missed in #986 Signed-off-by: Alexey Sachkov <alexey.sachkov@intel.com>
1 parent 48484b4 commit 8803f62

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sycl/include/CL/sycl/intel/builtins.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ extern int __spirv_ocl_printf(const CONSTANT_AS char *__format, ...);
1818
#define CONSTANT_AS
1919
#endif
2020

21-
namespace cl {
21+
__SYCL_INLINE namespace cl {
2222
namespace sycl {
2323
namespace intel {
2424
namespace experimental {

sycl/source/program.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
#include <vector>
1313

14-
namespace cl {
14+
__SYCL_INLINE namespace cl {
1515
namespace sycl {
1616

1717
program::program(const context &context)

0 commit comments

Comments
 (0)