Intel® oneAPI Math Kernel Library Developer Reference - C
The Inspector-executor Sparse BLAS API routine names use the following convention:
mkl_sparse_[<character>_]<operation>[_<format>]
The <character> field indicates the data type:
real, single precision
complex, single precision
real, double precision
complex, double precision
The data type is included in the name only if the function accepts dense matrix or scalar floating point parameters.
The <operation> field indicates the type of operation:
create matrix handle
create a copy of matrix handle
convert matrix between sparse formats
export matrix from internal representation to CSR or BSR format
frees memory allocated for matrix handle
provide information about number of upcoming compute operations and operation type for optimization purposes, where <op> is mv, sv, mm, sm, dotmv, symgs, or memory
analyze the matrix using hints and store optimization information in matrix handle
compute sparse matrix-vector product
compute sparse matrix by dense matrix product (batch mv)
change a value in a matrix
compute sparse matrix by sparse matrix product and store the result as a sparse/dense matrix
solve a triangular system
solve a triangular system with multiple right-hand sides
compute sum of two sparse matrices
compute a symmetric Gauss-Zeidel preconditioner
compute a symmetric Gauss-Zeidel preconditioner with a final matrix-vector multiplication
compute the symmetric or Hermitian product of sparse matrices and store the result as a sparse matrix
compute the symmetric or Hermitian product of sparse and dense matrices and store the result as a dense matrix
compute the product of sparse matrix with its transposed matrix and store the result as a sparse matrix
compute the product of sparse matrix with its transposed matrix and store the result as a dense matrix
perform ordering of column indexes of the matrix in CSR format
compute a sparse matrix-vector product with dot product
The <format> field indicates the sparse matrix storage format:
coordinate format
block sparse row format plus variations. Fill out either rows_start and rows_end (for 4-arrays representation) or rowIndex array (for 3-array BSR/CSR).
compressed sparse row format plus variations. Fill out either rows_start and rows_end (for 4-arrays representation) or rowIndex array (for 3-array BSR/CSR).
compressed sparse column format plus variations. Fill out either cols_start and cols_end (for 4-arrays representation) or colIndex array (for 3 array CSC).
The format is included in the function name only if the function parameters include an explicit sparse matrix in one of the conventional sparse matrix formats.