aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorJason Henline <jhen@google.com>2016-09-12 16:09:41 +0000
committerJason Henline <jhen@google.com>2016-09-12 16:09:41 +0000
commit57ea481945ffff7515b9bf3fe206f6c53ee8fd4a (patch)
tree13dbb437d9b7e90523dedea8ee66c4d50c0aaa09 /llvm/lib/CodeGen/MachineInstr.cpp
parentb678219aa6263c88064cb1035d8f03b782c5885c (diff)
downloadllvm-57ea481945ffff7515b9bf3fe206f6c53ee8fd4a.zip
llvm-57ea481945ffff7515b9bf3fe206f6c53ee8fd4a.tar.gz
llvm-57ea481945ffff7515b9bf3fe206f6c53ee8fd4a.tar.bz2
[SE] RegisteredHostMemory for async device copies
Summary: Improve the error-prone interface that allows users to pass host pointers that haven't been registered to asynchronous copy methods. In CUDA, this is an extremely easy error to make, and instead of failing at runtime, it succeeds and gives the right answers by turning the async copy into a sync copy. So, you silently get a huge performance degradation if you misuse the old interface. This new interface should prevent that. Reviewers: jlebar Subscribers: jprice, beanz, parallel_libs-commits Differential Revision: https://reviews.llvm.org/D24353 llvm-svn: 281225
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions