[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
GitOrigin-RevId: b07109275642f9ddafc10426cedee30d7ad5b74a
4 files changed
tree: 229eb2ea977ff85459c5db20df3743f599663381
  1. streamexecutor/
  2. .arcconfig
  3. .clang-format
  4. README.rst