[Openmp-commits] [clang] [openmp] [OFFLOAD] Build DeviceRTL with SPIRV backend (PR #174675)

via Openmp-commits openmp-commits at lists.llvm.org
Fri Jan 9 16:52:43 PST 2026


================
@@ -23,13 +23,17 @@ _Pragma("omp begin declare variant match(device = {arch(spirv64)})");
 // Type aliases to the address spaces used by the SPIR-V backend.
 #define __gpu_private __attribute__((address_space(0)))
 #define __gpu_constant __attribute__((address_space(2)))
-#define __gpu_local __attribute__((address_space(3)))
+#define __gpu_local    __attribute__((address_space(3)))
----------------
fineg74 wrote:

Fixed

https://github.com/llvm/llvm-project/pull/174675


More information about the Openmp-commits mailing list