[Parallel_libs-commits] [PATCH] D24172: [StreamExecutor] Pass device memory by ref

Jason Henline via Parallel_libs-commits parallel_libs-commits at lists.llvm.org
Thu Sep 1 16:43:54 PDT 2016


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

Step 3 of getting GlobalDeviceMemory to own its handle.

Since GlobalDeviceMemory will no longer by copy-constructible, we must
pass instances by reference rather than by value.

https://reviews.llvm.org/D24172

Files:
  streamexecutor/include/streamexecutor/Device.h
  streamexecutor/include/streamexecutor/DeviceMemory.h
  streamexecutor/include/streamexecutor/Stream.h
  streamexecutor/lib/unittests/DeviceTest.cpp
  streamexecutor/lib/unittests/StreamTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D24172.70101.patch
Type: text/x-patch
Size: 18888 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/parallel_libs-commits/attachments/20160901/1b4810da/attachment.bin>


More information about the Parallel_libs-commits mailing list