summaryrefslogtreecommitdiffstats
path: root/parallel-libs/streamexecutor/lib/unittests/ExecutorTest.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [StreamExecutor] Rename Executor to DeviceJason Henline2016-08-241-478/+0
| | | | | | | | | | | | Summary: This more clearly describes what the class is. Reviewers: jlebar Subscribers: jprice, parallel_libs-commits Differential Revision: https://reviews.llvm.org/D23851 llvm-svn: 279669
* [StreamExecutor] Fix allocateDeviceMemoryJason Henline2016-08-241-0/+27
| | | | | | | | | | | | | | | | | | | 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
* [StreamExecutor] Executor add synchronous methodsJason Henline2016-08-241-0/+451
Summary: Add Executor methods that block the host until completion. Since these methods are host-synchronous, they don't require Stream arguments. Reviewers: jlebar Subscribers: jprice, parallel_libs-commits Differential Revision: https://reviews.llvm.org/D23577 llvm-svn: 279640
OpenPOWER on IntegriCloud