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

Method GetContext

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

Source from the content-addressed store, hash-verified

554 }
555
556 Result<std::shared_ptr<CudaContext>> GetContext(int device_number) {
557 RETURN_NOT_OK(CheckDeviceNum(device_number));
558 return devices_[device_number]->GetContext();
559 }
560
561 Result<std::shared_ptr<CudaContext>> GetSharedContext(int device_number, void* handle) {
562 RETURN_NOT_OK(CheckDeviceNum(device_number));

Callers

nothing calls this directly

Calls 1

GetContextMethod · 0.45

Tested by

no test coverage detected