================
@@ -26,14 +26,16 @@
 #define __SPIRV_convergent __attribute__((convergent))
 #define __SPIRV_inline __attribute__((always_inline))
 
-#define __global __attribute__((opencl_global))
-#define __local __attribute__((opencl_local))
-#define __private __attribute__((opencl_private))
-#define __constant __attribute__((opencl_constant))
 #ifdef __SYCL_DEVICE_ONLY__
----------------
tahonermann wrote:

I think the SYCL attributes are desired for both host and device compilation.

```suggestion
#ifdef SYCL_LANGUAGE_VERSION
```

https://github.com/llvm/llvm-project/pull/200849
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to