[StreamExecutor] Add DeviceMemory and kernel arg packing
authorJason Henline <jhen@google.com>
Mon, 8 Aug 2016 16:45:19 +0000 (16:45 +0000)
committerJason Henline <jhen@google.com>
Mon, 8 Aug 2016 16:45:19 +0000 (16:45 +0000)
commitb07109275642f9ddafc10426cedee30d7ad5b74a
tree700f858a880a84998ad434354a8696152675cd93
parent6a76a1639f6ac3d1b1f9c661736f2cb91ce81825
[StreamExecutor] Add DeviceMemory and kernel arg packing

Summary:
Add types for device memory and add the code that knows how to pack these
device memory types if they are passed as arguments to kernel launches.

Reviewers: jlebar, tra

Subscribers: parallel_libs-commits

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

llvm-svn: 278021
parallel-libs/streamexecutor/include/streamexecutor/DeviceMemory.h [new file with mode: 0644]
parallel-libs/streamexecutor/include/streamexecutor/PackedKernelArgumentArray.h [new file with mode: 0644]
parallel-libs/streamexecutor/lib/unittests/CMakeLists.txt
parallel-libs/streamexecutor/lib/unittests/PackedKernelArgumentArrayTest.cpp [new file with mode: 0644]