[Openmp-commits] [clang] [openmp] [OFFLOAD] Build DeviceRTL with SPIRV backend (PR #174675)
via Openmp-commits
openmp-commits at lists.llvm.org
Fri Jan 9 20:09:37 PST 2026
================
@@ -131,7 +131,14 @@ struct IdentTy {
using __kmpc_impl_lanemask_t = LaneMaskTy;
-using ParallelRegionFnTy = void *;
+#ifdef __SPIRV__
+const uint32_t ProgramAS = 9;
+using FnPtrTy = __attribute__((address_space(ProgramAS))) void *;
----------------
fineg74 wrote:
Using attributes in [[]] form causes compilation error
https://github.com/llvm/llvm-project/pull/174675
More information about the Openmp-commits
mailing list