summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/source-manager/TestSourceManager.py
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2019-08-23 18:34:48 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2019-08-23 18:34:48 +0000
commit0366168f3ac6c838fa41cddc02db84d48403f21e (patch)
tree98a44872ce06de19945aac46c572d193c7b7d9f9 /lldb/packages/Python/lldbsuite/test/source-manager/TestSourceManager.py
parent9cb059fdcc03e2144fa9aac0bfbb49c0d5d7efe2 (diff)
downloadbcm5719-llvm-0366168f3ac6c838fa41cddc02db84d48403f21e.tar.gz
bcm5719-llvm-0366168f3ac6c838fa41cddc02db84d48403f21e.zip
[OPENMP][NVPTX]Use __syncwarp() to reconverge the threads.
Summary: In Cuda 9.0 it is not guaranteed that threads in the warps are convergent. We need to use __syncwarp() function to reconverge the threads and to guarantee the memory ordering among threads in the warps. This is the first patch to fix the problem with the test libomptarget/deviceRTLs/nvptx/src/sync.cu on Cuda9+. This patch just replaces calls to __shfl_sync() function with the call of __syncwarp() function where we need to reconverge the threads when we try to modify the value of the parallel level counter. Reviewers: grokos Subscribers: guansong, jfb, jdoerfert, caomhin, kkwli0, openmp-commits Tags: #openmp Differential Revision: https://reviews.llvm.org/D65013 llvm-svn: 369796
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/source-manager/TestSourceManager.py')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud