cuda.bindings._v2.driver.driver_get_version#

cuda.bindings._v2.driver.driver_get_version() → int#

Returns the latest CUDA version supported by driver.

Returns in *driver_version 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 driver_version is NULL.

Returns:

Returns the CUDA driver version.

Return type:

int

See also

cuDriverGetVersion