diff options
author | Jason Henline <jhen@google.com> | 2016-08-24 19:42:03 +0000 |
---|---|---|
committer | Jason Henline <jhen@google.com> | 2016-08-24 19:42:03 +0000 |
commit | 3053bbf3b27151b88f7ca87fb61d0610cdc9e4a8 (patch) | |
tree | 52f8099d0b1f1f39b939aa8ef5f0dc4985eb201f /clang/lib/Sema/SemaTemplateInstantiateDecl.cpp | |
parent | 4a080de057ae920ee1745c60495bfa60eaedfb73 (diff) | |
download | bcm5719-llvm-3053bbf3b27151b88f7ca87fb61d0610cdc9e4a8.tar.gz bcm5719-llvm-3053bbf3b27151b88f7ca87fb61d0610cdc9e4a8.zip |
[StreamExecutor] Fix allocateDeviceMemory
Summary:
The return value from PlatformExecutor::allocateDeviceMemory needs to be
converted from Expected<GlobalDeviceMemoryBase> to
Expected<GlobalDeviceMemory<T>> in Executor::allocateDeviceMemory.
A similar bug is also fixed for Executor::allocateHostMemory.
Thanks to jprice for identifying this bug.
Reviewers: jprice, jlebar
Subscribers: parallel_libs-commits
Differential Revision: https://reviews.llvm.org/D23849
llvm-svn: 279658
Diffstat (limited to 'clang/lib/Sema/SemaTemplateInstantiateDecl.cpp')
0 files changed, 0 insertions, 0 deletions