Generic Types Reference¶
The NVPL Sparse generic type references are described in this section.
nvpl_sparse_format_t¶
This type indicates the format of the sparse matrix. See NVPL Sparse Storage Format for their description.
Value |
Meaning |
---|---|
|
The matrix is stored in Coordinate (COO) format organized in Structure of Arrays (SoA) layout |
|
The matrix is stored in Compressed Sparse Row (CSR) format |
|
The matrix is stored in Compressed Sparse Column (CSC) format |
|
The matrix is stored in Sliced-Ellpack (Sliced-ELL) format |
nvpl_sparse_order_t¶
This type indicates the memory layout of a dense matrix.
Value |
Meaning |
---|---|
|
The matrix is stored in row-major |
|
The matrix is stored in column-major |
nvpl_sparse_index_type_t¶
This type indicates the index type for representing the sparse matrix indices.
Value |
Meaning |
---|---|
|
32-bit signed integer [1, 2^31 - 1] |
|
64-bit signed integer [1, 2^63 - 1] |