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

Method GetSharedContext

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

Source from the content-addressed store, hash-verified

559 }
560
561 Result<std::shared_ptr<CudaContext>> GetSharedContext(int device_number, void* handle) {
562 RETURN_NOT_OK(CheckDeviceNum(device_number));
563 return devices_[device_number]->GetSharedContext(handle);
564 }
565
566 Result<std::shared_ptr<CudaDevice>> GetDevice(int device_number) {
567 RETURN_NOT_OK(CheckDeviceNum(device_number));

Callers

nothing calls this directly

Calls 1

GetSharedContextMethod · 0.45

Tested by

no test coverage detected