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

Is mkl_dbsrmm parallel?

ionutg
Beginner
701 Views
Hello everyone,

I was wondering whether mkl_dbsrmm has a parallel implementation. I have set both OMP_NUM_THREADS and MKL_NUM_THREADS to 8 and I checked that number with
[fortran] nthr = mkl_domain_get_max_threads( MKL_BLAS )[/fortran]
However, when I check the CPU usage with top it never goes above 100%. I remember seeing higher CPU usage (400%) when using mkl_dcsrmultd.

We really need the parallellism because we are operating on some 6000x6000 matrices and a single core is really slow.

Thanks a lot,
Ionut
0 Kudos
1 Reply
Todd_R_Intel
Employee
701 Views

Hello Ionut,

I do seethe User Guide says it should be threaded, so we can check if that is accurate. The scaling will depend on the sparsity pattern so it's possibleyour case is not optimal.Is performance pegged at 100% or just always below it?

Todd

0 Kudos
Reply