cupy.cuda.get_local_runtime_version#

cupy.cuda.get_local_runtime_version()[source]#

Returns the version of the CUDA Runtime installed in the environment.

Unlike cupy.cuda.runtime.runtimeGetVersion(), which returns the CUDA Runtime version statically linked to CuPy, this function returns the version retrieved from the shared library installed on the host. Use this method to probe the CUDA Runtime version installed in the environment.

Return type:

int