[llvm] [Offload] Add liboffload unit tests for shared/local memory (PR #147040)
Joseph Huber via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 4 04:43:44 PDT 2025
================
@@ -0,0 +1,16 @@
+#include <gpuintrin.h>
+#include <stdint.h>
+
+extern __gpu_local uint32_t shared_mem[];
----------------
jhuber6 wrote:
No test for static shared memory? That would require `[[clang::loader_uninitialized]]` to work.
https://github.com/llvm/llvm-project/pull/147040
More information about the llvm-commits
mailing list