Expand description
Compressed Sparse Row (CSR) format.
CSR is the most widely used sparse matrix format. It stores:
row_ptr[rows+1]: indices intocol_idx/valuesfor each rowcol_idx[nnz]: column index for each non-zerovalues[nnz]: the non-zero values
This is the primary format for SpMV, SpMM, and most sparse operations.
Structsยง
- CsrMatrix
- A sparse matrix in Compressed Sparse Row (CSR) format, stored on GPU.