[Openmp-commits] [PATCH] D117627: [OpenMP] Introduce an environment variable to disable atomic map clauses
Johannes Doerfert via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Wed Jan 19 08:10:41 PST 2022
jdoerfert added inline comments.
================
Comment at: openmp/libomptarget/src/device.cpp:27
+ if (!PM->UseEventsForAtomicTransfers)
+ return OFFLOAD_SUCCESS;
+
----------------
ye-luo wrote:
> unlock before return.
guards fix this nicely :)
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D117627/new/
https://reviews.llvm.org/D117627
More information about the Openmp-commits
mailing list