[Openmp-commits] [PATCH] D62318: [OPENMP][NVPTX]Simplify use of the thread_id in full runtime mode, NFC.
Johannes Doerfert via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Tue Jul 9 11:26:40 PDT 2019
jdoerfert added inline comments.
================
Comment at: libomptarget/deviceRTLs/nvptx/src/libcall.cu:56
return 1; // default is 1 thread avail
// Not currently in a parallel region, return what was set.
int rc = 1;
----------------
Can another thread change the parallel level while it is cached in the local variable `parLevel`?
Repository:
rOMP OpenMP
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D62318/new/
https://reviews.llvm.org/D62318
More information about the Openmp-commits
mailing list