()
return version.value
Get installed CUDA runtime version.

    Return the version of the installed CUDA runtime as an integer. If
    no driver is detected, 0 is returned.

    Returns
    -------
    version : int
        Runtime version.
Get installed CUDA runtime version.
Get installed CUDA runtime version .
def cudaRuntimeGetVersion():
    """
    Get installed CUDA runtime version.

    Return the version of the installed CUDA runtime as an integer. If
    no driver is detected, 0 is returned.

    Returns
    -------
    version : int
        Runtime version.
    """

    version = ctypes.c_int()
    status = _libcudart.cudaRuntimeGetVersion(ctypes.byref(version))
    cudaCheckStatus(status)
    return version.value
def cudaRuntimeGetVersion ( ) : version = ctypes . c_int ( ) status = _libcudart . cudaRuntimeGetVersion ( ctypes . byref ( version ) ) cudaCheckStatus ( status ) return version . value