# Introduction#

rocSPARSE is a library that contains basic linear algebra subroutines for sparse matrices and vectors written in HIP for GPU devices. It is designed to be used from C and C++ code. The functionality of rocSPARSE is organized in the following categories:

Sparse Auxiliary Functions describe available helper functions that are required for subsequent library calls.

Sparse Level 1 Functions describe operations between a vector in sparse format and a vector in dense format.

Sparse Level 2 Functions describe operations between a matrix in sparse format and a vector in dense format.

Sparse Level 3 Functions describe operations between a matrix in sparse format and multiple vectors in dense format.

Sparse Extra Functions describe operations that manipulate sparse matrices.

Sparse Preconditioner Functions describe manipulations on a matrix in sparse format to obtain a preconditioner.

Sparse Conversion Functions describe operations on a matrix in sparse format to obtain a different matrix format.

Sparse Reordering Functions describe operations on a matrix in sparse format to obtain a reordering.

Sparse Utility Functions describe routines useful for checking sparse matrices for valid data

The code is open and hosted here: ROCm/rocSPARSE