pub unsafe extern "C" fn cuDeviceGetCount(
count: *mut c_int,
) -> CUresult
Expand description
\brief Returns the number of compute-capable devices
Returns in \p *count the number of devices with compute capability greater than or equal to 2.0 that are available for execution. If there is no such device, ::cuDeviceGetCount() returns 0.
\param count - Returned number of compute-capable devices
\return ::CUDA_SUCCESS, ::CUDA_ERROR_DEINITIALIZED, ::CUDA_ERROR_NOT_INITIALIZED, ::CUDA_ERROR_INVALID_CONTEXT, ::CUDA_ERROR_INVALID_VALUE \notefnerr
\sa ::cuDeviceGetAttribute, ::cuDeviceGetName, ::cuDeviceGetUuid, ::cuDeviceGetLuid, ::cuDeviceGet, ::cuDeviceTotalMem, ::cuDeviceGetExecAffinitySupport, ::cudaGetDeviceCount