[Parallel_libs-commits] [PATCH] D24353: [SE] RegisteredHostMemory for async device copies

Justin Lebar via Parallel_libs-commits parallel_libs-commits at lists.llvm.org
Fri Sep 9 17:34:43 PDT 2016


jlebar accepted this revision.
jlebar added a comment.
This revision is now accepted and ready to land.

Ship it.


================
Comment at: streamexecutor/include/streamexecutor/HostMemory.h:94
@@ +93,3 @@
+  /// Chops off the first N elements of the slice.
+  RegisteredHostMemorySlice slice(size_t N) const {
+    return RegisteredHostMemorySlice(ArrayRef.slice(N));
----------------
While I'm thinking about it, we should add LLVM_ATTRIBUTE_UNUSED_RESULT to these (and other similar functions) in a separate patch.


https://reviews.llvm.org/D24353





More information about the Parallel_libs-commits mailing list