[all-commits] [llvm/llvm-project] 9efdca: [OpenMP] Introduce new flags to assert thread and ...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Thu Oct 7 19:23:26 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9efdca87c78256bb00ed51521272dec2deed7f23
https://github.com/llvm/llvm-project/commit/9efdca87c78256bb00ed51521272dec2deed7f23
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2021-10-07 (Thu, 07 Oct 2021)
Changed paths:
M clang/include/clang/Basic/LangOptions.def
M clang/include/clang/Driver/Options.td
M clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
M clang/lib/Driver/ToolChains/Clang.cpp
M clang/lib/Frontend/CompilerInvocation.cpp
R clang/test/OpenMP/target_debug_codegen.cpp
A clang/test/OpenMP/target_globals_codegen.cpp
M llvm/include/llvm/Frontend/OpenMP/OMPIRBuilder.h
M llvm/lib/Frontend/OpenMP/OMPIRBuilder.cpp
Log Message:
-----------
[OpenMP] Introduce new flags to assert thread and team usage in the runtime
This patch adds two flags to be supported for the new runtime. The flags
are `-fopenmp-assume-threads-oversubscription` and
-fopenmp-assume-teams-oversubscription`. These add global values that
can be checked by the work sharing runtime functions to make better
judgements about how to distribute work between the threads.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D111348
More information about the All-commits
mailing list