[Parallel_libs-commits] [PATCH] D24148: [StreamExecutor] Read dev array directly in test

Jason Henline via Parallel_libs-commits parallel_libs-commits at lists.llvm.org
Thu Sep 1 12:04:50 PDT 2016


jhen created this revision.
jhen added a reviewer: jlebar.
jhen added subscribers: parallel_libs-commits, jprice.

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.

https://reviews.llvm.org/D24148

Files:
  streamexecutor/lib/unittests/DeviceTest.cpp
  streamexecutor/lib/unittests/SimpleHostPlatformDevice.h
  streamexecutor/lib/unittests/StreamTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24148.70044.patch
Type: text/x-patch
Size: 16846 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/parallel_libs-commits/attachments/20160901/471715b1/attachment.bin>


More information about the Parallel_libs-commits mailing list