- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I am using MKL 10.0.5.025 under Windows XP sp3. There is one piece of code calling leve-1 BLAS and vector math functions. It suppose to utilize my Intel Q9550 CPU.
I set MKL_NUM_THREADS to 4 in system variables. Also, I call mkl_set_num_threads(4) to make sure I am using all 4 cores. But I only saw 25% CPU usage.
Did I do anything wrong? Hope someone will give me some help. Thanks in advance!
My link line is:
mkl_solver.lib mkl_intel_c_dll.lib mkl_intel_thread_dll.lib mkl_core_dll.lib libguide40.lib -Qopenmp
Kai
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There's a good chance you selected level 1 BLAS functions which weren't threaded in that MKL version. Release notes may indicate which additional functions were threaded in later versions.
I don't think you could have got that link line from the link advisor URL at the top of the forum, but the duplication you have doesn't appear to be a problem.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Kai,
BLAS1 routines from version 10.0.* has not been threaded, so this is one of the reasons why you saw 25% of CPU Usage only.Please refer to here to find out more info about the list of threadedroutinesinto the latest MKL.
--Gennady
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page