Article

Using KMP_AFFINITY to create OpenMP* thread mapping to OS proc IDs

This article explains how to create your own OpenMP* thread mapping to OS proc IDs with Intel® C/C++ and Fortran compiler, by setting environment variable KMP_AFFINITY. It also provides some thread affinity demo results on when use different settings.
Authored by Last updated on 02/14/2016 - 10:19
For more complete information about compiler optimizations, see our Optimization Notice.