[clang] [clang][SYCL] Implement address space attributes for SYCL (PR #200849)

Tom Honermann via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 15 23:21:41 PDT 2026


================
@@ -4,16 +4,22 @@
 
 #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


More information about the cfe-commits mailing list