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

Method GetDevice

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

Source from the content-addressed store, hash-verified

564 }
565
566 Result<std::shared_ptr<CudaDevice>> GetDevice(int device_number) {
567 RETURN_NOT_OK(CheckDeviceNum(device_number));
568 return devices_[device_number];
569 }
570
571 int num_devices() const { return num_devices_; }
572

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected