pub unsafe extern "C" fn cuDriverGetVersion(
driverVersion: *mut c_int,
) -> CUresult
Expand description
\brief Returns the latest CUDA version supported by driver
Returns in \p *driverVersion the version of CUDA supported by the driver. The version is returned as (1000 × major + 10 × minor). For example, CUDA 9.2 would be represented by 9020.
This function automatically returns ::CUDA_ERROR_INVALID_VALUE if \p driverVersion is NULL.
\param driverVersion - Returns the CUDA driver version
\return ::CUDA_SUCCESS, ::CUDA_ERROR_INVALID_VALUE \notefnerr
\sa ::cudaDriverGetVersion, ::cudaRuntimeGetVersion