[llvm] [Offload] Add liboffload unit tests for shared/local memory (PR #147040)
Ross Brunton via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 7 03:33:11 PDT 2025
================
@@ -0,0 +1,16 @@
+#include <gpuintrin.h>
+#include <stdint.h>
+
+extern __gpu_local uint32_t shared_mem[];
----------------
RossBrunton wrote:
I've added one. Since the number of tests is getting a bit large, I've also added a macro to the olLaunchKernel test.
https://github.com/llvm/llvm-project/pull/147040
More information about the llvm-commits
mailing list