summaryrefslogtreecommitdiff
path: root/lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2016-08-10 10:58:19 +0000
committerTobias Grosser <tobias@grosser.es>2016-08-10 10:58:19 +0000
commitd58acf866ac3671663e9ec2081bde228d5c49735 (patch)
treed0fb4b10e23dac51fd4a2ceda251b75ccd11018a /lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
parent85c7ea86ae934b22ae6140166ab107f6ac165d92 (diff)
[GPGPU] Ensure arrays where only parts are modified are copied to GPU
To do so we change the way array exents are computed. Instead of the precise set of memory locations accessed, we now compute the extent as the range between minimal and maximal address in the first dimension and the full extent defined by the sizes of the inner array dimensions. We also move the computation of the may_persist region after the construction of the arrays, as it relies on array information. Without arrays being constructed no useful information is computed at all. llvm-svn: 278212
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp')
0 files changed, 0 insertions, 0 deletions