jhuber6 wrote: I fail to see how a warning saying "Warning: don't use these ever" on every hip atomic and memory scope doesn't cover the case you're concerned about. https://github.com/llvm/llvm-project/pull/185408