Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Contributor I
32 Views

How to get sparse array in CSR format from a matrix handle?

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.

0 Kudos
1 Reply
Employee
32 Views

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

0 Kudos