[][src]Function nvml_binding::bindings::nvmlSystemGetCudaDriverVersion

pub unsafe extern "C" fn nvmlSystemGetCudaDriverVersion(
    cudaDriverVersion: *mut c_int
) -> nvmlReturn_t

Retrieves the version of the CUDA driver.

For all products.

The CUDA driver version returned will be retreived from the currently installed version of CUDA. If the cuda library is not found, this function will return a known supported version number.

@param cudaDriverVersion Reference in which to return the version identifier

@return - \ref NVML_SUCCESS if \a cudaDriverVersion has been set - \ref NVML_ERROR_INVALID_ARGUMENT if \a cudaDriverVersion is NULL