- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear all,
I found AO DGEMM use only one CPU core for "CPU fraction", although OMP_NUM_THREADS=4, and MKL_NUM_THREADS=4. When I set MKL_MIC_MAX_MEMORY=1024, AO don't use MIC, only one CPU core, although MKL_MIC_WORKDIVISION=1.0. (Matrix dimension: 6232)
(composer_xe_2013_sp1.2.144)
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
MKL runtime scales down the number of cores to use when it believes using more cores or threads won't help performance. To disable this feature and force it to always respect MKL_NUM_THREADS or OMP_NUM_THREADS, you can set MKL_DYNAMIC=0.
MKL_MIC_MAX_MEMORY=1024 means 1024K bytes of memory reserved on MIC for automatic offload. This value is too small. Try set it to 1024M, or 1G.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thank you! That's working.
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