MCPcopy Create free account
hub / github.com/apache/arrow / CopyBufferTo

Method CopyBufferTo

cpp/src/arrow/gpu/cuda_context.cc:428–431  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

426}
427
428Result<std::shared_ptr<Buffer>> CudaMemoryManager::CopyBufferTo(
429 const std::shared_ptr<Buffer>& buf, const std::shared_ptr<MemoryManager>& to) {
430 return CopyNonOwnedTo(*buf, to);
431}
432
433Result<std::unique_ptr<Buffer>> CudaMemoryManager::CopyNonOwnedTo(
434 const Buffer& buf, const std::shared_ptr<MemoryManager>& to) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected