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

Method FromBuffer

cpp/src/arrow/gpu/cuda_memory.cc:75–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

73CudaIpcMemHandle::~CudaIpcMemHandle() {}
74
75Result<std::shared_ptr<CudaIpcMemHandle>> CudaIpcMemHandle::FromBuffer(
76 const void* opaque_handle) {
77 return std::shared_ptr<CudaIpcMemHandle>(new CudaIpcMemHandle(opaque_handle));
78}
79
80Result<std::shared_ptr<Buffer>> CudaIpcMemHandle::Serialize(MemoryPool* pool) const {
81 int64_t size = impl_->memory_size;

Callers

nothing calls this directly

Calls 4

addressMethod · 0.80
TypeErrorFunction · 0.50
sizeMethod · 0.45
parentMethod · 0.45

Tested by

no test coverage detected