Intel® oneAPI Math Kernel Library Developer Reference - C

Sparse BLAS Level 2 and Level 3 Routines.

Note

The Intel® oneAPI Math Kernel Library Sparse BLAS Level 2 and Level 3 routines are deprecated. Use the corresponding routine from the Intel® oneAPI Math Kernel Library Inspector-executor Sparse BLAS interface as indicated in the description for each routine.
Table “Sparse BLAS Level 2 and Level 3 Routines” lists the sparse BLAS Level 2 and Level 3 routines described in more detail later in this section.

Sparse BLAS Level 2 and Level 3 Routines

Routine/Function

Description

 

Simplified interface, one-based indexing

mkl_?csrgemv

Computes matrix - vector product of a sparse general matrix in the CSR format (3-array variation)

mkl_?bsrgemv

Computes matrix - vector product of a sparse general matrix in the BSR format (3-array variation).

mkl_?coogemv

Computes matrix - vector product of a sparse general matrix in the coordinate format.

mkl_?diagemv

Computes matrix - vector product of a sparse general matrix in the diagonal format.

mkl_?csrsymv

Computes matrix - vector product of a sparse symmetrical matrix in the CSR format (3-array variation)

mkl_?bsrsymv

Computes matrix - vector product of a sparse symmetrical matrix in the BSR format (3-array variation).

mkl_?coosymv

Computes matrix - vector product of a sparse symmetrical matrix in the coordinate format.

mkl_?diasymv

Computes matrix - vector product of a sparse symmetrical matrix in the diagonal format.

mkl_?csrtrsv

Triangular solvers with simplified interface for a sparse matrix in the CSR format (3-array variation).

mkl_?bsrtrsv

Triangular solver with simplified interface for a sparse matrix in the BSR format (3-array variation).

mkl_?cootrsv

Triangular solvers with simplified interface for a sparse matrix in the coordinate format.

mkl_?diatrsv

Triangular solvers with simplified interface for a sparse matrix in the diagonal format.

   
   
   

 

Simplified interface, zero-based indexing

mkl_cspblas_?csrgemv

Computes matrix - vector product of a sparse general matrix in the CSR format (3-array variation) with zero-based indexing.

mkl_cspblas_?bsrgemv

Computes matrix - vector product of a sparse general matrix in the BSR format (3-array variation)with zero-based indexing.

mkl_cspblas_?coogemv

Computes matrix - vector product of a sparse general matrix in the coordinate format with zero-based indexing.

mkl_cspblas_?csrsymv

Computes matrix - vector product of a sparse symmetrical matrix in the CSR format (3-array variation) with zero-based indexing

mkl_cspblas_?bsrsymv

Computes matrix - vector product of a sparse symmetrical matrix in the BSR format (3-array variation) with zero-based indexing.

mkl_cspblas_?coosymv

Computes matrix - vector product of a sparse symmetrical matrix in the coordinate format with zero-based indexing.

mkl_cspblas_?csrtrsv

Triangular solvers with simplified interface for a sparse matrix in the CSR format (3-array variation) with zero-based indexing.

mkl_cspblas_?bsrtrsv

Triangular solver with simplified interface for a sparse matrix in the BSR format (3-array variation) with zero-based indexing.

mkl_cspblas_?cootrsv

Triangular solver with simplified interface for a sparse matrix in the coordinate format with zero-based indexing.

 

Typical (conventional) interface, one-based and zero-based indexing

 

mkl_?csrmv

Computes matrix - vector product of a sparse matrix in the CSR format.

mkl_?bsrmv

Computes matrix - vector product of a sparse matrix in the BSR format.

mkl_?cscmv

Computes matrix - vector product for a sparse matrix in the CSC format.

mkl_?coomv

Computes matrix - vector product for a sparse matrix in the coordinate format.

mkl_?csrsv

Solves a system of linear equations for a sparse matrix in the CSR format.

mkl_?bsrsv

Solves a system of linear equations for a sparse matrix in the BSR format.

mkl_?cscsv

Solves a system of linear equations for a sparse matrix in the CSC format.

mkl_?coosv

Solves a system of linear equations for a sparse matrix in the coordinate format.

mkl_?csrmm

Computes matrix - matrix product of a sparse matrix in the CSR format

mkl_?bsrmm

Computes matrix - matrix product of a sparse matrix in the BSR format.

mkl_?cscmm

Computes matrix - matrix product of a sparse matrix in the CSC format

mkl_?coomm

Computes matrix - matrix product of a sparse matrix in the coordinate format.

mkl_?csrsm

Solves a system of linear matrix equations for a sparse matrix in the CSR format.

mkl_?bsrsm

Solves a system of linear matrix equations for a sparse matrix in the BSR format.

mkl_?cscsm

Solves a system of linear matrix equations for a sparse matrix in the CSC format.

mkl_?coosm

Solves a system of linear matrix equations for a sparse matrix in the coordinate format.

 

Typical (conventional) interface, one-based indexing

 

mkl_?diamv

Computes matrix - vector product of a sparse matrix in the diagonal format.

mkl_?skymv

Computes matrix - vector product for a sparse matrix in the skyline storage format.

mkl_?diasv

Solves a system of linear equations for a sparse matrix in the diagonal format.

mkl_?skysv

Solves a system of linear equations for a sparse matrix in the skyline format.

mkl_?diamm

Computes matrix - matrix product of a sparse matrix in the diagonal format.

mkl_?skymm

Computes matrix - matrix product of a sparse matrix in the skyline storage format.

mkl_?diasm

Solves a system of linear matrix equations for a sparse matrix in the diagonal format.

mkl_?skysm

Solves a system of linear matrix equations for a sparse matrix in the skyline storage format.

   
Auxiliary routines

Matrix converters

 

mkl_?dnscsr

Converts a sparse matrix in uncompressed representation to CSR format (3-array variation) and vice versa.

mkl_?csrcoo

Converts a sparse matrix in CSR format (3-array variation) to coordinate format and vice versa.

mkl_?csrbsr

Converts a sparse matrix in CSR format to BSR format (3-array variations) and vice versa.

mkl_?csrcsc

Converts a sparse matrix in CSR format to CSC format and vice versa (3-array variations).

mkl_?csrdia

Converts a sparse matrix in CSR format (3-array variation) to diagonal format and vice versa.

mkl_?csrsky

Converts a sparse matrix in CSR format (3-array variation) to sky line format and vice versa.

   

Operations on sparse matrices

 

mkl_?csradd

Computes the sum of two sparse matrices stored in the CSR format (3-array variation) with one-based indexing.

mkl_?csrmultcsr

Computes the product of two sparse matrices stored in the CSR format (3-array variation) with one-based indexing.

mkl_?csrmultd

Computes product of two sparse matrices stored in the CSR format (3-array variation) with one-based indexing. The result is stored in the dense matrix.