(handle)
return version.value
Get CUBLAS version.

    Returns version number of installed CUBLAS libraries.

    Parameters
    ----------
    handle : int
        CUBLAS context.

    Returns
    -------
    version : int
        CUBLAS version.

    References
    ----------
    `cublasGetVersion <http://docs.nvidia.com/cuda/cublas/#cublasgetversion>`_
Get CUBLAS version.
Get CUBLAS version .
def cublasGetVersion(handle):
    """
    Get CUBLAS version.

    Returns version number of installed CUBLAS libraries.

    Parameters
    ----------
    handle : int
        CUBLAS context.

    Returns
    -------
    version : int
        CUBLAS version.

    References
    ----------
    `cublasGetVersion <http://docs.nvidia.com/cuda/cublas/#cublasgetversion>`_
    """

    version = ctypes.c_int()
    status = _libcublas.cublasGetVersion_v2(handle, ctypes.byref(version))
    cublasCheckStatus(status)
    return version.value
def cublasGetVersion ( handle ) : version = ctypes . c_int ( ) status = _libcublas . cublasGetVersion_v2 ( handle , ctypes . byref ( version ) ) cublasCheckStatus ( status ) return version . value