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

Method cuda_device

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

Source from the content-addressed store, hash-verified

360}
361
362std::shared_ptr<CudaDevice> CudaMemoryManager::cuda_device() const {
363 return checked_pointer_cast<CudaDevice>(device_);
364}
365
366Result<std::shared_ptr<Device::SyncEvent>> CudaMemoryManager::MakeDeviceSyncEvent() {
367 ARROW_ASSIGN_OR_RAISE(auto context, cuda_device()->GetContext());

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected