[Openmp-commits] [openmp] [OpenMP][NFC] Encapsulate Devices.size() (PR #74010)

Johannes Doerfert via Openmp-commits openmp-commits at lists.llvm.org
Thu Nov 30 16:44:47 PST 2023


jdoerfert wrote:

> Unrelated, but wondering why we need a mutex for this when we could just have an atomic counter inside of the plugin manager.

Should work too. Feel free ;)

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


More information about the Openmp-commits mailing list