[Openmp-commits] [PATCH] D66802: [OPENMP][NVPTX]Fix parallel level counter in non-SPMD mode.
Alexey Bataev via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Tue Aug 27 07:28:30 PDT 2019
ABataev created this revision.
ABataev added a reviewer: grokos.
Herald added a subscriber: guansong.
Herald added a reviewer: jdoerfert.
Herald added a project: OpenMP.
In non-SPMD mode we may end up with the divergent threads when trying to
increment/decrement parallel level counter. It may lead to incorrect
calculations of the parallel level and wrong results when threads are
divergent. We need to reconverge the threads before trying to modify the
parallel level counter.
Repository:
rOMP OpenMP
https://reviews.llvm.org/D66802
Files:
libomptarget/deviceRTLs/nvptx/src/parallel.cu
libomptarget/deviceRTLs/nvptx/src/support.h
libomptarget/deviceRTLs/nvptx/src/supporti.h
libomptarget/deviceRTLs/nvptx/test/parallel/level.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66802.217399.patch
Type: text/x-patch
Size: 5589 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20190827/88b7796d/attachment.bin>
More information about the Openmp-commits
mailing list