diff options
author | Johannes Doerfert <johannes@jdoerfert.de> | 2021-10-16 14:39:55 -0500 |
---|---|---|
committer | Johannes Doerfert <johannes@jdoerfert.de> | 2021-10-27 18:18:44 -0500 |
commit | ef922c692fdb971497d79cc8fa6b9d221733db3d (patch) | |
tree | 41bc24c9084cdd6b5edd0bf74f510b4a19446069 /llvm/lib/ExecutionEngine/Orc/ExecutorProcessControl.cpp | |
parent | 4c88341d17f8b81e4d21a63e0e4c16dca9063670 (diff) | |
download | llvm-ef922c692fdb971497d79cc8fa6b9d221733db3d.zip llvm-ef922c692fdb971497d79cc8fa6b9d221733db3d.tar.gz llvm-ef922c692fdb971497d79cc8fa6b9d221733db3d.tar.bz2 |
[OpenMP][FIX] Query proper thread ID information to support nesting
The OpenMP thread ID is not the hardware thread ID if we have nesting.
We need to ask the runtime properly to ensure correct results.
Note that the loop interface is going to change soon so we do not adjust
it now but simply ignore the extra argument.
Reviewed By: tianshilei1992
Differential Revision: https://reviews.llvm.org/D111950
Diffstat (limited to 'llvm/lib/ExecutionEngine/Orc/ExecutorProcessControl.cpp')
0 files changed, 0 insertions, 0 deletions