Function rcudnn_sys::cudaGetDeviceCount[][src]

pub unsafe extern "C" fn cudaGetDeviceCount(
    count: *mut c_int
) -> cudaError_t
Expand description

\brief Returns the number of compute-capable devices

Returns in \p *count the number of devices with compute capability greater or equal to 2.0 that are available for execution.

\param count - Returns the number of devices with compute capability greater or equal to 2.0

\return ::cudaSuccess \notefnerr \note_init_rt \note_callback

\sa ::cudaGetDevice, ::cudaSetDevice, ::cudaGetDeviceProperties, ::cudaChooseDevice, ::cuDeviceGetCount