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

Method Make

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

Source from the content-addressed store, hash-verified

236int CudaDevice::handle() const { return impl_->props.handle_; }
237
238Result<std::shared_ptr<CudaDevice>> CudaDevice::Make(int device_number) {
239 ARROW_ASSIGN_OR_RAISE(auto manager, CudaDeviceManager::Instance());
240 return manager->GetDevice(device_number);
241}
242
243std::shared_ptr<MemoryManager> CudaDevice::default_memory_manager() {
244 return CudaMemoryManager::Make(shared_from_this());

Callers

nothing calls this directly

Calls 1

GetDeviceMethod · 0.45

Tested by

no test coverage detected