Skip to main content

cusparseCreateMatDescr

Function cusparseCreateMatDescr 

Source
pub unsafe extern "C" fn cusparseCreateMatDescr(
    descrA: *mut cusparseMatDescr_t,
) -> cusparseStatus_t
Expand description

This function initializes the matrix descriptor. It sets the fields MatrixType and IndexBase to the default values cusparseMatrixType_t::CUSPARSE_MATRIX_TYPE_GENERAL and cusparseIndexBase_t::CUSPARSE_INDEX_BASE_ZERO, respectively, while leaving other fields uninitialized.

ยงParameters

  • descrA: the pointer to the matrix descriptor.