- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I specify for example my env variables as follows: "mic_kmp_place_threads=Xc,1t", "mic_omp_num_threads=X", "mic_kmp_affinity=scatter". I keep X smaller than available cores on mic.
1) Would there be any difference if I set my "mic_omp_proc_bind" to spread or close?
2) Also are there any documentation on "mic_omp_proc_bind"?
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
In offload, by default, one of the physical cores is unavailable (reserved for system).
As far as I could see (e.g. by setting mic_kmp_affinity=verbose), mic_kmp_affinity=scatter is the same as mic_omp_proc_bind=spread, but when you have both set, omp_proc_bind may be ignored. If you don't set num_threads to a different value than what was set by kmp_place_threads, I doubt there is a difference between spread and close.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks!

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