aboutsummaryrefslogtreecommitdiff
path: root/lldb/packages/Python/lldbsuite/test/configuration.py
diff options
context:
space:
mode:
authorAlexey Bataev <a.bataev@hotmail.com>2018-10-12 16:04:20 +0000
committerAlexey Bataev <a.bataev@hotmail.com>2018-10-12 16:04:20 +0000
commit9bfe91da3d2c2eb3f0cba9dc587a51ddbbf4d8ac (patch)
tree6a8da57be99cd61b82cbe3160d91fc0fcd578744 /lldb/packages/Python/lldbsuite/test/configuration.py
parentc046b6856ec91e65b1112e66af0fa6735c20bc7d (diff)
downloadllvm-9bfe91da3d2c2eb3f0cba9dc587a51ddbbf4d8ac.zip
llvm-9bfe91da3d2c2eb3f0cba9dc587a51ddbbf4d8ac.tar.gz
llvm-9bfe91da3d2c2eb3f0cba9dc587a51ddbbf4d8ac.tar.bz2
[OPENMP][NVPTX]Reduce memory usage in orphaned functions.
if the function has globalized variables and called in context of target/teams/distribute regions, it does not need to globalize 32 copies of the same variables for memory coalescing, it is enough to have just one copy, because there is parallel region. Patch does this by adding call for `__kmpc_parallel_level` function and checking its return value. If the code sees that the parallel level is 0, then only one variable is allocated, not 32. llvm-svn: 344356
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/configuration.py')
0 files changed, 0 insertions, 0 deletions