[SE] Remove Platform*Handle classes
authorJason Henline <jhen@google.com>
Tue, 6 Sep 2016 17:07:22 +0000 (17:07 +0000)
committerJason Henline <jhen@google.com>
Tue, 6 Sep 2016 17:07:22 +0000 (17:07 +0000)
commit18ea094df15dfb8b41d4798bb1cbb14c434fa98d
treeedddbf24d4d2a42def796de6dab5080b9ab610ca
parentdf050fd58566e43153f6506842ce179fd4ce4e67
[SE] Remove Platform*Handle classes

Summary:
As pointed out by jprice, these classes don't serve a purpose. Instead,
we stay consistent with the way memory is managed and let the Stream and
Kernel classes directly hold opaque handles to device Stream and Kernel
instances, respectively.

Reviewers: jprice, jlebar

Subscribers: parallel_libs-commits

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

llvm-svn: 280719
parallel-libs/streamexecutor/include/streamexecutor/Device.h
parallel-libs/streamexecutor/include/streamexecutor/Kernel.h
parallel-libs/streamexecutor/include/streamexecutor/PlatformInterfaces.h
parallel-libs/streamexecutor/include/streamexecutor/Stream.h
parallel-libs/streamexecutor/lib/Device.cpp
parallel-libs/streamexecutor/lib/Kernel.cpp
parallel-libs/streamexecutor/lib/PlatformInterfaces.cpp
parallel-libs/streamexecutor/lib/Stream.cpp
parallel-libs/streamexecutor/lib/unittests/SimpleHostPlatformDevice.h
parallel-libs/streamexecutor/lib/unittests/StreamTest.cpp