()
return handle.value
Initialize CUBLAS.

    Initializes CUBLAS and creates a handle to a structure holding
    the CUBLAS library context.

    Returns
    -------
    handle : int
        CUBLAS context.

    References
    ----------
    `cublasCreate <http://docs.nvidia.com/cuda/cublas/#cublascreate>`_
Initialize CUBLAS.
Initialize CUBLAS .
def cublasCreate():
    """
    Initialize CUBLAS.

    Initializes CUBLAS and creates a handle to a structure holding
    the CUBLAS library context.

    Returns
    -------
    handle : int
        CUBLAS context.

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

    handle = _types.handle()
    status = _libcublas.cublasCreate_v2(ctypes.byref(handle))
    cublasCheckStatus(status)
    return handle.value
def cublasCreate ( ) : handle = _types . handle ( ) status = _libcublas . cublasCreate_v2 ( ctypes . byref ( handle ) ) cublasCheckStatus ( status ) return handle . value