pub unsafe extern "C" fn cusparseCooGet(
spMatDescr: cusparseSpMatDescr_t,
rows: *mut i64,
cols: *mut i64,
nnz: *mut i64,
cooRowInd: *mut *mut c_void,
cooColInd: *mut *mut c_void,
cooValues: *mut *mut c_void,
idxType: *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 COO format (Array of Structures layout).
ยง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.cooRowInd: Row indices of the sparse matrix. Arraynnzelements.cooColInd: Column indices of the sparse matrix. Arraynnzelements.cooValues: Values of the sparse matrix. Arraynnzelements.idxBase: Index base ofcooRowIndandcooColInd.valueType: Datatype ofcooValues.