Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
7234 Discussions

Using full capcity of quadcore processor for calculating

xk2379_52
Beginner
849 Views
I try to use the MKL in an C programm compiled with Visual C++ 2005 on an quadcore pc.

At the moment the task is only using one of the four processors.

How can I used all four processors for my programm ?

0 Kudos
4 Replies
Tabrez_Ali
Beginner
849 Views
Which MKL routines are you calling ?

The BLAS 3 routines are multithreaded and anything that depends on it should parallelize. Set the OMP_NUM_THREADS variable to 2 or more and try running your code.

You may or may not see speedup depending on the type/size of your problem.
0 Kudos
xk2379_52
Beginner
849 Views
I using the LAPACK routines zheevd, zheev and dsyev for matrix diagonalization. Setting of OMP_NUM_THREADS don'nt show any effect.
0 Kudos
Michael_C_Intel4
Employee
849 Views

Which MKL version do you use? What is the size of the problem?

dsyev/zheev/zheevd have been threadedin MKL 10.0 quite good. There was a lack of parallelism before that.

0 Kudos
xk2379_52
Beginner
849 Views
I use MKL 10.0 to diagonalyze a lot of 81 x 81 complex matrices.
0 Kudos
Reply