aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectCommands.cpp
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2019-04-26 19:30:34 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2019-04-26 19:30:34 +0000
commitc03fe73176067a2eb2ed5aca8ec685b6ea931b30 (patch)
tree13695f7e3054e3800348bef0d4460b141b3f8d88 /lldb/source/Commands/CommandObjectCommands.cpp
parent5ddc6d180cd660fa1b70e0c251a95b70ad743ac9 (diff)
downloadllvm-c03fe73176067a2eb2ed5aca8ec685b6ea931b30.zip
llvm-c03fe73176067a2eb2ed5aca8ec685b6ea931b30.tar.gz
llvm-c03fe73176067a2eb2ed5aca8ec685b6ea931b30.tar.bz2
[OPENMP][NVPTX]Correctly handle L2 parallelism in SPMD mode.
Summary: The parallelLevel counter must be on per-thread basis to fully support L2+ parallelism, otherwise we may end up with undefined behavior. Introduce the parallelLevel on per-warp basis using shared memory. It allows to avoid the problems with the synchronization and allows fully support L2+ parallelism in SPMD mode with no runtime. Reviewers: gtbercea, grokos Subscribers: guansong, jdoerfert, caomhin, kkwli0, openmp-commits Tags: #openmp Differential Revision: https://reviews.llvm.org/D60918 llvm-svn: 359341
Diffstat (limited to 'lldb/source/Commands/CommandObjectCommands.cpp')
0 files changed, 0 insertions, 0 deletions