[Openmp-commits] [PATCH] D112874: [OpenMP][FIX] Avoid a race between initialization and first state reads
Shilei Tian via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Sat Oct 30 14:04:43 PDT 2021
tianshilei1992 accepted this revision.
tianshilei1992 added inline comments.
This revision is now accepted and ready to land.
================
Comment at: openmp/libomptarget/DeviceRTL/include/Mapping.h:43
+/// races between the initialization and the first read of initialized state.
+bool isInitializationThread(bool IsSPMD);
+
----------------
nit: in OpenMP term, it is "initial thread".
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112874/new/
https://reviews.llvm.org/D112874
More information about the Openmp-commits
mailing list