Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

convert dense matrix to sparse CSR form

chen__guanbo
Beginner
872 Views

previously, I have used mkl_sdnscsr to convert a dense matrix to a sparse matrix with CSR format. However, with current update(2018 update 3), this function is depreciated, and the user manual instruct me to find a replacement in matrix manipulation of the inspector-executor sparse blas routine. However, I can not find the replacement function! Do you know which function I can use now to convert my dense matrix to a sparse CSR format?

0 Kudos
4 Replies
Ying_H_Intel
Employee
872 Views

Hi Guanbo,

Thank you for raising the question!

You’re right, this routine will be deprecated in future and so far we don’t have any analogues for dense-to-sparse converters in IE SpBLAS. We’re going to work on it.  you may continue to use the mkl_sdnscsr  .  we will release the news if the replacement is ready.

​Thanks
Ying

0 Kudos
miguel_l_2
Beginner
872 Views

Ying,

It would be nice if this information made its way to the documentation.

Regards,

Miguel

0 Kudos
Ying_H_Intel
Employee
872 Views

Hi Miguel,

​thank you for the suggestion. Sure we will forward it to our doc team. 

​Thank you!
Ying

 

0 Kudos
MOSBAH__Pascal
Beginner
872 Views

Hi Ying

In the current release, all Sparse BLAS Level2 are declared as depreciated in the header file (mkl_spblas.h). Does it mean that Sparse BLAS will not be available in the mkl library in the future ?

Regards,

Pascal

0 Kudos
Reply