Skip to content

Commit e8965db

Browse files
authored
Revert "[NFC][ESIMD] Remove one of the uses on __SYCL_EXPLICIT_SIMD__ (#3242)" (#3268)
This reverts commit 6b9b16c.
1 parent cd6529f commit e8965db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sycl/include/CL/__spirv/spirv_vars.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
#define __SPIRV_VAR_QUALIFIERS extern "C" const
1717

18-
#if defined(__SYCL_NVPTX__)
18+
#if defined(__SYCL_NVPTX__) || defined(__SYCL_EXPLICIT_SIMD__)
1919

2020
SYCL_EXTERNAL size_t __spirv_GlobalInvocationId_x();
2121
SYCL_EXTERNAL size_t __spirv_GlobalInvocationId_y();

0 commit comments

Comments
 (0)