Hello,
I'm using Sparse BLAS routines in MKL.
For matrix-matrix multiplications using the mkl_sparse_spmm routine, I created matrix handles, and then execute the routine.
But, how can I get the result in the original CSR format? I mean, the mkl_sparse_spmm gives the result in the form of matrix handle (pointer),
so I need a further step to get the final result in CSR format.
Thanks.
Hi,
To export the matrix in CSR format from a sparse handle you can use mkl_sparse_?_export_csr() routine (please, refer to https://software.intel.com/en-us/mkl-developer-reference-c-mkl-sparse-export-csr).
Best regards,
Maria
For more complete information about compiler optimizations, see our Optimization Notice.