[Openmp-commits] [clang] [openmp] [OFFLOAD] Build DeviceRTL with SPIRV backend (PR #174675)
Joseph Huber via Openmp-commits
openmp-commits at lists.llvm.org
Fri Jan 9 16:53:01 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 *;
----------------
jhuber6 wrote:
C++ attributes please
https://github.com/llvm/llvm-project/pull/174675
More information about the Openmp-commits
mailing list