[llvm] [OpenMP] Replace AMDGPU fences with generic scoped fences (PR #119619)

Jan Patrick Lehr via llvm-commits llvm-commits at lists.llvm.org
Wed Dec 11 14:32:03 PST 2024


================
@@ -26,6 +26,14 @@ enum OrderingTy {
   seq_cst = __ATOMIC_SEQ_CST,
 };
 
+enum ScopeTy {
+  system = __MEMORY_SCOPE_SYSTEM,
+  device_ = __MEMORY_SCOPE_DEVICE,
----------------
jplehr wrote:

Is this on purpose with `_` to not conflict with something?

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


More information about the llvm-commits mailing list