Quantcast
Channel: Intel® oneAPI Math Kernel Library & Intel® Math Kernel Library
Viewing all articles
Browse latest Browse all 2652

Convert dense matrix to sparse BSR

$
0
0

Hello,

I am currently struggling to find a function that can convert a dense matrix to sparse BSR storage format. I know there is mkl_?dnscsr which does the job for CSR format but how about other sparse formats which are supported in MKL?

My goal is to convert two dense matrices to BSR format, create the BSR handle for each of them using mkl_sparse_?_create_bsr, and pass them to mkl_sparse_spmm for multiplication. Any idea how to do this if it is not possible to convert the dense matrices to BSR and vice versa?

Best,

Afshin


Viewing all articles
Browse latest Browse all 2652

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>