aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
diff options
context:
space:
mode:
authorJoseph Huber <jhuber6@vols.utk.edu>2023-03-01 14:02:40 -0600
committerJoseph Huber <jhuber6@vols.utk.edu>2023-03-01 14:12:46 -0600
commit656378085e7f52d67581245617474c5ce530dac4 (patch)
treeedcbe844d474ef5e8bfe85953c7c0cda39bf34ea /llvm/lib/ExecutionEngine/Interpreter/ExternalFunctions.cpp
parentc9843af5785600731bb09736b990de183c9a05e5 (diff)
downloadllvm-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