[StreamExecutor] Dev handles in platform interface
authorJason Henline <jhen@google.com>
Thu, 1 Sep 2016 18:48:21 +0000 (18:48 +0000)
committerJason Henline <jhen@google.com>
Thu, 1 Sep 2016 18:48:21 +0000 (18:48 +0000)
commit8e5b54021ee42418c95397f2adde0ff7e755526b
tree82a4210035b9b435a9186ec6c4d2a34cdfbae751
parentbd715f84a49aaf35b3b90eb204462f1ddddbddac
[StreamExecutor] Dev handles in platform interface

Summary:
This is the first in a series of patches that will convert
GlobalDeviceMemory to own its device memory handle. The first step is to
remove GlobalDeviceMemoryBase from the PlatformInterface interfaces and
use raw handles there instead. This is useful because
GlobalDeviceMemoryBase is going to lose its importance in this process.

Reviewers: jlebar

Subscribers: jprice, parallel_libs-commits

Differential Revision: https://reviews.llvm.org/D24114

llvm-svn: 280401
parallel-libs/streamexecutor/include/streamexecutor/Device.h
parallel-libs/streamexecutor/include/streamexecutor/PlatformInterfaces.h
parallel-libs/streamexecutor/include/streamexecutor/Stream.h
parallel-libs/streamexecutor/lib/unittests/DeviceTest.cpp
parallel-libs/streamexecutor/lib/unittests/SimpleHostPlatformDevice.h [new file with mode: 0644]
parallel-libs/streamexecutor/lib/unittests/StreamTest.cpp