[StreamExecutor] Read dev array directly in test

Summary:
Step 2 of getting GlobalDeviceMemory to own its handle.

Use the SimpleHostPlatformDevice allocate methods to create device
arrays for tests, and check for successful copies by dereferncing the
device array handle directly because we know it is really a host
pointer.

Reviewers: jlebar

Subscribers: jprice, parallel_libs-commits

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

llvm-svn: 280428
GitOrigin-RevId: e091f8e814fec8bca64af7fa245edd35c6d15a68
3 files changed
tree: 160498c2c920a3d64670d262e26f6729b37d5615
  1. streamexecutor/
  2. .arcconfig
  3. .clang-format
  4. README.rst