Sparse matrix-vector multiplication in CUDA

We want to highlight that cuSPARSE (since some time now) makes routines for the multiplication between sparse matrices or between a sparse matrix and a dense vector available.

For the csr format, the relevant routine for the multiplication between a sparse matrix and a dense vector is cusparse<t>csrmv. On our GitHub website, a fully worked example showing its use is shown.

Leave a Reply

Your email address will not be published. Required fields are marked *