Skip to main content

get_device_count

Function get_device_count 

Source
pub fn get_device_count() -> CudaRtResult<u32>
Expand description

Returns the number of CUDA-capable devices (mirrors cudaGetDeviceCount).