[llvm-branch-commits] [clang] [llvm] [OpenMP] Use device scope for atomic constructs on the device (PR #240426)

Joseph Huber via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Tue Nov 10 05:47:38 PST 2026


https://github.com/jhuber6 commented:

I don't fully know the semantics of OpenMP here, so someone who knows the standard will need to speak up. But, generally it's best to avoid the full system scoped atomics, those are only really required if they're actually ordering with some signal that comes from another agent.

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


More information about the llvm-branch-commits mailing list