[Openmp-commits] [PATCH] D62318: [OPENMP][NVPTX]Simplify use of the thread_id in full runtime mode, NFC.
Alexey Bataev via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Tue Jul 9 11:40:47 PDT 2019
ABataev marked an inline comment as done.
ABataev 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;
----------------
jdoerfert wrote:
> Can another thread change the parallel level while it is cached in the local variable `parLevel`?
No. The parlevel is per warp and threads in the warp are executed synchronously.
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