summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <johannes@jdoerfert.de>2023-11-03 13:31:54 -0700
committerJohannes Doerfert <johannes@jdoerfert.de>2023-11-06 11:50:41 -0800
commit3de645efe30b83ba1b6d7e500486c4f441a17a61 (patch)
tree47b00d66348ff12ab94ff7db8cdfbad918dec8ef /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
parent921bd299134fbe17c676b2486af269e18281def4 (diff)
[OpenMP][NFC] Split the reduction buffer size into two components
Before we tracked the size of the teams reduction buffer in order to allocate it at runtime per kernel launch. This patch splits the number into two parts, the size of the reduction data (=all reduction variables) and the (maximal) length of the buffer. This will allow us to allocate less if we need less, e.g., if we have less teams than the maximal length. It also allows us to move code from clangs codegen into the runtime as we now know how large the reduction data is.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions