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

Function device_id

cpp/src/arrow/gpu/cuda_context.h:100–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98 return DeviceAllocationType::kCUDA;
99 }
100 int64_t device_id() const override { return device_number(); }
101
102 /// \brief Return a CudaDevice instance for a particular device
103 /// \param[in] device_number the CUDA device number

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected