[compiler-rt] [llvm] [compiler-rt] Add KCSAN inspired GPU ConcurrencySanitizer runtime (PR #207714)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Mon Jul 6 05:36:34 PDT 2026


================
@@ -0,0 +1,13 @@
+// RUN: %clang_csan %s -o %t && %run --threads 64 --blocks 64 %t 2>&1 | FileCheck %s --allow-empty
+
+#include <gpuintrin.h>
+
+[[clang::loader_uninitialized]] static __gpu_local int shared[64];
+
+// CHECK-NOT: ConcurrencySanitizer
----------------
arsenm wrote:

Ditto

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


More information about the llvm-commits mailing list