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

Is there a parallel implementation of mkl_sparse_d_trsv()?

janalik__radim
Beginner
631 Views

Hello,
I'm using function mkl_sparse_d_trsv(). No matter how many threads I use (environment variable MKL_NUM_THREADS), the performance is always the same. So it seems to me that this function has no parallel implementation.

Can somebody confirm my assumption, please? Or am I wrong?

Thank you.

0 Kudos
1 Solution
Alexander_K_Intel2
631 Views

Hi Radim,

The function mkl_sparse_d_trsv is threaded but it's scalling can significantly depend on matrix structure. Also, to calculate internal data for parallel implementation one need to call optimize() and mkl_sparse_set_sv_hint routines before

Thanks,

Alex

View solution in original post

0 Kudos
2 Replies
Alexander_K_Intel2
632 Views

Hi Radim,

The function mkl_sparse_d_trsv is threaded but it's scalling can significantly depend on matrix structure. Also, to calculate internal data for parallel implementation one need to call optimize() and mkl_sparse_set_sv_hint routines before

Thanks,

Alex

0 Kudos
janalik__radim
Beginner
631 Views

Thank you.

0 Kudos
Reply