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

Method CopyBufferFrom

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

Source from the content-addressed store, hash-verified

450}
451
452Result<std::shared_ptr<Buffer>> CudaMemoryManager::CopyBufferFrom(
453 const std::shared_ptr<Buffer>& buf, const std::shared_ptr<MemoryManager>& from) {
454 // TODO: remove these or just make them base class
455 return CopyNonOwnedFrom(*buf, from);
456}
457
458Result<std::unique_ptr<Buffer>> CudaMemoryManager::CopyNonOwnedFrom(
459 const Buffer& buf, const std::shared_ptr<MemoryManager>& from) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected