(device, cuda_stream, cublas_handle,
                                 cusparse_handle)
Create MAGMA queue given CUDA stream.
Create MAGMA queue given CUDA stream.
Create MAGMA queue given CUDA stream .
def magma_queue_create_from_cuda(device, cuda_stream, cublas_handle,
                                 cusparse_handle):
    """
    Create MAGMA queue given CUDA stream.
    """

    queue_ptr = ctypes.c_void_p()
    _libmagma.magma_queue_create_from_cuda_internal(device, cuda_stream,
                                                    cublas_handle,
                                                    cusparse_handle, ctypes.byref(queue_ptr),
                                                    '', '', 0)
def magma_queue_create_from_cuda ( device , cuda_stream , cublas_handle , cusparse_handle ) : queue_ptr = ctypes . c_void_p ( ) _libmagma . magma_queue_create_from_cuda_internal ( device , cuda_stream , cublas_handle , cusparse_handle , ctypes . byref ( queue_ptr ) , '' , '' , 0 )