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

MKL Sparse BLAS executor slower than deprecated routines

SIMKIN__John
Beginner
862 Views

I have several sparse iterative solvers that use the deprecated MKL sparse Blas procedures. After converting the solvers to use the latest sparse BLAS executor functions they all run slower than before. Has anyone else noticed this difference?

                                    Typical times (seconds):
Equations     threads Old_MKL  Executor_MKL
2e5               1           13               17
2e5               6           6                 10
3e6               1           170             250

The solvers used mkl_dcsrtrsv and mkl_dcsrsymv, they were updated to use mkl_sparse_d_trsv and mkl_sparse_d_mv. Double precision and double complex show similar time comparisons.

The comparisons were performed on a windows 10 computer with a Xeon E5 1650 processor, software built using Parallel XE 2019 with intel fortran and C++ compilers.

 

0 Kudos
4 Replies
Kirill_V_Intel
Employee
862 Views

Hello,

We haven't heard of this issue. Could you share your workload (matrix) with us so that we can check? Also, which threading did you use (I assume, OpenMP), was it Intel OpenMP or GNU?

Also, did you call mkl_sparse_optimize with appropriate hints before the actual calls to the computational routines?

In other words, if you can give us a simple example (just showing the way you call old SpBLAS and IE SpBLAS), it would speed up our investigation.

Thanks,
Kirill

0 Kudos
Gennady_F_Intel
Moderator
862 Views

John

you may also submit this issue via Intel Online Service Center where you could share the reproducer and all needed details in the case if all of your data are private. 

0 Kudos
SIMKIN__John
Beginner
862 Views

I have now created a small program to demonstrate the problem and submitted it as an issue to the support centre as recommended by F. Gennady.

I will report progress.

 

0 Kudos
jwolosiuk
Beginner
632 Views

Hi,
Is there any update on the topic? I believe the problem can still be observed.
Regards,
Jeremiasz

0 Kudos
Reply