From 0d4f8bce2825e27d95ca55d1eb07daa229a3f6cc Mon Sep 17 00:00:00 2001 From: vladimirlaz Date: Fri, 26 Feb 2021 09:02:43 +0300 Subject: [PATCH] Revert "[NFC][ESIMD] Remove one of the uses on __SYCL_EXPLICIT_SIMD__ (#3242)" This reverts commit 6b9b16c524a029e2b24259061236e3d16431ae21. --- sycl/include/CL/__spirv/spirv_vars.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sycl/include/CL/__spirv/spirv_vars.hpp b/sycl/include/CL/__spirv/spirv_vars.hpp index bbc6f75ddf87b..53315cd9f72eb 100644 --- a/sycl/include/CL/__spirv/spirv_vars.hpp +++ b/sycl/include/CL/__spirv/spirv_vars.hpp @@ -15,7 +15,7 @@ #define __SPIRV_VAR_QUALIFIERS extern "C" const -#if defined(__SYCL_NVPTX__) +#if defined(__SYCL_NVPTX__) || defined(__SYCL_EXPLICIT_SIMD__) SYCL_EXTERNAL size_t __spirv_GlobalInvocationId_x(); SYCL_EXTERNAL size_t __spirv_GlobalInvocationId_y();