(desc)
Releases the memory allocated for the matrix descriptor.

    Parameters
    ----------
    desc : cusparseMatDescr
        Matrix descriptor.
Releases the memory allocated for the matrix descriptor.
Releases the memory allocated for the matrix descriptor .
def cusparseDestroyMatDescr(desc):
    """
    Releases the memory allocated for the matrix descriptor.

    Parameters
    ----------
    desc : cusparseMatDescr
        Matrix descriptor.

    """

    status = _libcusparse.cusparseDestroyMatDescr(desc)
    cusparseCheckStatus(status)
def cusparseDestroyMatDescr ( desc ) : status = _libcusparse . cusparseDestroyMatDescr ( desc ) cusparseCheckStatus ( status )