We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4402f47 commit 0a41aa2Copy full SHA for 0a41aa2
sycl/include/CL/sycl/access/access.hpp
@@ -123,6 +123,8 @@ constexpr bool modeWritesNewData(access::mode m) {
123
#define __OPENCL_LOCAL_AS__ __attribute__((opencl_local))
124
#define __OPENCL_CONSTANT_AS__ __attribute__((opencl_constant))
125
#define __OPENCL_PRIVATE_AS__ __attribute__((opencl_private))
126
+// TODO cannot be defined as __attribute__((opencl_generic)) since clang doesn't
127
+// support the generic address space for SYCL.
128
#define __OPENCL_GENERIC_AS__
129
#else
130
#define __OPENCL_GLOBAL_AS__
0 commit comments