diff options
author | Joseph Huber <jhuber6@vols.utk.edu> | 2023-03-01 14:02:40 -0600 |
---|---|---|
committer | Joseph Huber <jhuber6@vols.utk.edu> | 2023-03-01 14:12:46 -0600 |
commit | 656378085e7f52d67581245617474c5ce530dac4 (patch) | |
tree | edcbe844d474ef5e8bfe85953c7c0cda39bf34ea /llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp | |
parent | c9843af5785600731bb09736b990de183c9a05e5 (diff) | |
download | llvm-656378085e7f52d67581245617474c5ce530dac4.zip llvm-656378085e7f52d67581245617474c5ce530dac4.tar.gz llvm-656378085e7f52d67581245617474c5ce530dac4.tar.bz2 |
[Libomptarget] Fix block and thread limit environment variables not being respected
The next-gen plugins did not properly set the values from
`OMP_NUM_TEAMS` and `OMP_TEAMS_THREAD_LIMIT`. This is because these
maximum values are set by each plugin to its hardware maximum. This
happens *after* the previous initialization. Move it to the correct
place and then add a test.
Fixes https://github.com/llvm/llvm-project/issues/61082
Reviewed By: tianshilei1992
Differential Revision: https://reviews.llvm.org/D145105
Diffstat (limited to 'llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp')
0 files changed, 0 insertions, 0 deletions