aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-rc/ResourceScriptParser.cpp
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2017-08-18 12:55:58 +0000
committerTobias Grosser <tobias@grosser.es>2017-08-18 12:55:58 +0000
commit62acb344d08d4902c439740835705ba083470986 (patch)
tree886485eaba2ee2092980d04e917e41511b09ba88 /llvm/tools/llvm-rc/ResourceScriptParser.cpp
parentec9581e5e01df590050443d3fbf39c71c32bb7b0 (diff)
downloadllvm-62acb344d08d4902c439740835705ba083470986.zip
llvm-62acb344d08d4902c439740835705ba083470986.tar.gz
llvm-62acb344d08d4902c439740835705ba083470986.tar.bz2
[GPGPU] Synchronize after each kernel, not each copy out
Summary: This change reduces the overall number of synchronize calls for kernels with a lot of output data at the cost of additional synchronize calls for kernels launched in sequence without any device to host transfers in between. As the latter pattern is a lot less frequent, this seems a better tradeoff. Even though the above motivation would be motivation enough, this is just a step towards enabling ppcg to not compute to and from device copy calls at all, which would be incorrect in case we still relied on these calls to place our synchronization statements. Reviewers: Meinersbur, bollu, singam-sanjay Reviewed By: bollu Subscribers: nemanjai, kbarton, pollydev, llvm-commits Tags: #polly Differential Revision: https://reviews.llvm.org/D36867 llvm-svn: 311155
Diffstat (limited to 'llvm/tools/llvm-rc/ResourceScriptParser.cpp')
0 files changed, 0 insertions, 0 deletions