pub unsafe extern "C" fn cusparseCsrGet(
spMatDescr: cusparseSpMatDescr_t,
rows: *mut i64,
cols: *mut i64,
nnz: *mut i64,
csrRowOffsets: *mut *mut c_void,
csrColInd: *mut *mut c_void,
csrValues: *mut *mut c_void,
csrRowOffsetsType: *mut cusparseIndexType_t,
csrColIndType: *mut cusparseIndexType_t,
idxBase: *mut cusparseIndexBase_t,
valueType: *mut cudaDataType,
) -> cusparseStatus_tExpand description
This function returns the fields of the sparse matrix descriptor spMatDescr stored in CSR format.
ยงParameters
spMatDescr: Sparse matrix descriptor.rows: Number of rows of the sparse matrix.cols: Number of columns of the sparse matrix.nnz: Number of non-zero entries of the sparse matrix.csrRowOffsets: Row offsets of the sparse matrix. Array withrows + 1elements.csrColInd: Column indices of the sparse matrix. Array withnnzelements.csrValues: Values of the sparse matrix. Array withnnzelements.csrRowOffsetsType: Data type ofcsrRowOffsets.csrColIndType: Data type ofcsrColInd.idxBase: Index base ofcsrRowOffsetsandcsrColInd.valueType: Datatype ofcsrValues.