cjolivier01 commented on issue #9744: Performance regression when 
OMP_NUM_THREADS environment variable is not set
   how to set this programmatically? i?d imagine that by the time this code
   executes, the omp library may have already checked the environment variable
   (as it does with OMP_NUM_THREADS)? or can it be set at any time?
   On Thu, Feb 22, 2018 at 4:49 PM PatricZhao <notificati...@github.com> wrote:
   > Thanks, @cjolivier01 <https://github.com/cjolivier01>, I mean we set this
   > environment in the code as OMP_NUM_THREADS.
   > Actually, this setting is useful when hyperthreading is ON and we only
   > want to run each thread in a physical core as below picture shown
   > (KMP_AFFINITY=granularity=fine,compact,1,0).
   > So, this environment will guide how to map thread into the physical core.
   > https://software.intel.com/en-us/node/522691
   > [image: guid-80fda344-d8c1-4fea-b268-94f685d19c4c-imageid
   > 0abe3e2e-7a5a-4072-b22f-da7f72eb9a18]
   > *KMP_AFFINITY=granularity=fine,compact,1,0*
   > ?
   > You are receiving this because you were mentioned.
   > Reply to this email directly, view it on GitHub
   > or mute the thread
   > .

This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:

With regards,
Apache Git Services

Reply via email to