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

Function RegisterCUDADeviceInternal

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

Source from the content-addressed store, hash-verified

495}
496
497bool RegisterCUDADeviceInternal() {
498 DCHECK_OK(RegisterDeviceMapper(DeviceAllocationType::kCUDA, DefaultCUDADeviceMapper));
499 // TODO add the CUDA_HOST and CUDA_MANAGED allocation types when they are supported in
500 // the CudaDevice
501 return true;
502}
503
504static auto cuda_registered = RegisterCUDADeviceInternal();
505

Callers 1

cuda_memory.ccFile · 0.85

Calls 1

RegisterDeviceMapperFunction · 0.85

Tested by

no test coverage detected