pitrou commented on code in PR #41477:
URL: https://github.com/apache/arrow/pull/41477#discussion_r1608360497
##########
cpp/src/arrow/device.h:
##########
@@ -249,6 +249,10 @@ class ARROW_EXPORT MemoryManager : public
std::enable_shared_from_this<MemoryMan
static Result<std::shared_ptr<Buffer>> ViewBuffer(
const std::shared_ptr<Buffer>& source, const
std::shared_ptr<MemoryManager>& to);
+ /// \brief Copy a slice of a buffer into a CPU pointer
+ static Status CopyBufferSlice(const std::shared_ptr<Buffer>& buf, int64_t
offset,
Review Comment:
Can we name this `CopyBufferSliceToCPU` or similar? To make it clear that,
unlike other methods here, this isn't taking a target memory manager.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]