Skip to main content

cuda

Function cuda 

Source
pub fn cuda(_index: usize) -> Result<Device>
Expand description

Returns a CUDA device for the given GPU index.

Without the cuda feature, this always returns an error.