================
@@ -23,13 +23,46 @@ _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)))
#define __gpu_global __attribute__((address_space(1)))
#define __gpu_generic __attribute__((address_space(4)))
// Attribute to declare a function as a kernel.
#define __gpu_kernel __attribute__((device_kernel, visibility("protected")))
+typedef enum {
----------------
jhuber6 wrote:
There shouldn't be any changes to `spirvintrin.h` here.
https://github.com/llvm/llvm-project/pull/174675
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits