We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd6529f commit e8965dbCopy full SHA for e8965db
sycl/include/CL/__spirv/spirv_vars.hpp
@@ -15,7 +15,7 @@
15
16
#define __SPIRV_VAR_QUALIFIERS extern "C" const
17
18
-#if defined(__SYCL_NVPTX__)
+#if defined(__SYCL_NVPTX__) || defined(__SYCL_EXPLICIT_SIMD__)
19
20
SYCL_EXTERNAL size_t __spirv_GlobalInvocationId_x();
21
SYCL_EXTERNAL size_t __spirv_GlobalInvocationId_y();
0 commit comments