cuda_device_count

Function cuda_device_count 

Source
pub fn cuda_device_count() -> usize
Expand description

Get CUDA device count.

Returns 0 if CUDA is not available or libraries are not installed.