pub fn get_device_count() -> CudaRtResult<u32>Expand description
Returns the number of CUDA-capable devices.
Mirrors cudaGetDeviceCount.
ยงErrors
Returns CudaRtError::DriverNotAvailable if the CUDA driver is not
installed, or CudaRtError::NoGpu on systems with zero CUDA devices.