(handle)
return id.value
Set current CUBLAS library stream.

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

    Returns
    -------
    id : int
        Stream ID.

    References
    ----------
    `cublasGetStream <http://docs.nvidia.com/cuda/cublas/#cublasgetstream>`_
Set current CUBLAS library stream.
Set current CUBLAS library stream .
def cublasGetStream(handle):
    """
    Set current CUBLAS library stream.

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

    Returns
    -------
    id : int
        Stream ID.

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

    id = _types.stream()
    status = _libcublas.cublasGetStream_v2(handle, ctypes.byref(id))
    cublasCheckStatus(status)
    return id.value
def cublasGetStream ( handle ) : id = _types . stream ( ) status = _libcublas . cublasGetStream_v2 ( handle , ctypes . byref ( id ) ) cublasCheckStatus ( status ) return id . value