- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I have a question for the library mkl
I have intel core i3 with 4 logical cores, and was installed Parallel Studio 2011 and the intel composer XE 2011 with version mkl 10.3.1. When I create a project in visual studio I chose the menu option - 'parallel' mkl in composer ,but when the program was started, windows task manager show only 2 working cores, what's the problem?
I tried using the function mkl_set_num_threads(4),but nothing changed.
I have a question for the library mkl
I have intel core i3 with 4 logical cores, and was installed Parallel Studio 2011 and the intel composer XE 2011 with version mkl 10.3.1. When I create a project in visual studio I chose the menu option - 'parallel' mkl in composer ,but when the program was started, windows task manager show only 2 working cores, what's the problem?
I tried using the function mkl_set_num_threads(4),but nothing changed.
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Maybe it's because MKL recognizes HT and limits threads to 1 per core by default to get the best performance.
To allow using all logical cores please set environment MKL_DYNAMIC=false together with settting MKL_NUM_THREADS=4 or using the function mkl_set_num_threads(4).
Maybe it's because MKL recognizes HT and limits threads to 1 per core by default to get the best performance.
To allow using all logical cores please set environment MKL_DYNAMIC=false together with settting MKL_NUM_THREADS=4 or using the function mkl_set_num_threads(4).
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanx, Victor,
the function mkl_set_num_threads(4) together with omp_set_dynamic(false) helped me. However, the performance is no much increased.
Tell me please on how many physical cores MKL shows significant performance?
the function mkl_set_num_threads(4) together with omp_set_dynamic(false) helped me. However, the performance is no much increased.
Tell me please on how many physical cores MKL shows significant performance?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting vadim_l
Tell me please on how many physical cores MKL shows significant performance?
In general it depends on MKL domain and tasks you are using. For BLAS for example the best performance will be when used 1-cpu for core (similar toHT is off).
But for other parts you can get some improvements in using HT.

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