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

Method CudaHostBuffer

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

Source from the content-addressed store, hash-verified

200}
201
202CudaHostBuffer::CudaHostBuffer(uint8_t* data, const int64_t size)
203 : MutableBuffer(data, size) {
204 device_type_ = DeviceAllocationType::kCUDA_HOST;
205}
206
207CudaHostBuffer::~CudaHostBuffer() {
208 auto maybe_manager = CudaDeviceManager::Instance();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected