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

Method FreeHost

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

Source from the content-addressed store, hash-verified

548 }
549
550 Status FreeHost(void* data, int64_t nbytes) {
551 CU_RETURN_NOT_OK("cuMemFreeHost", cuMemFreeHost(data));
552 host_bytes_allocated_ -= nbytes;
553 return Status::OK();
554 }
555
556 Result<std::shared_ptr<CudaContext>> GetContext(int device_number) {
557 RETURN_NOT_OK(CheckDeviceNum(device_number));

Callers

nothing calls this directly

Calls 1

OKFunction · 0.50

Tested by

no test coverage detected