pub fn get_cuda_device_count() -> Result<i32>
Return the number of CUDA devices (runtime.GetCudaDeviceCount).
runtime.GetCudaDeviceCount
Returns an error if the CUDA runtime is not built or loaded.