[all-commits] [llvm/llvm-project] 174502: [OpenMP][libomp] Parameterize affinity functions
Jonathan Peyton via All-commits
all-commits at lists.llvm.org
Fri Oct 28 13:21:46 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 174502fc14d08ad4aeee81a2ff7e551138b77152
https://github.com/llvm/llvm-project/commit/174502fc14d08ad4aeee81a2ff7e551138b77152
Author: Jonathan Peyton <jonathan.l.peyton at intel.com>
Date: 2022-10-28 (Fri, 28 Oct 2022)
Changed paths:
M openmp/runtime/src/kmp.h
M openmp/runtime/src/kmp_affinity.cpp
M openmp/runtime/src/kmp_affinity.h
M openmp/runtime/src/kmp_barrier.cpp
M openmp/runtime/src/kmp_csupport.cpp
M openmp/runtime/src/kmp_ftn_entry.h
M openmp/runtime/src/kmp_global.cpp
M openmp/runtime/src/kmp_runtime.cpp
M openmp/runtime/src/kmp_settings.cpp
M openmp/runtime/src/kmp_version.cpp
M openmp/runtime/src/ompt-general.cpp
M openmp/runtime/src/z_Linux_util.cpp
M openmp/runtime/src/z_Windows_NT_util.cpp
Log Message:
-----------
[OpenMP][libomp] Parameterize affinity functions
This patch parameterizes the affinity initialization code to allow multiple
affinity settings. Almost all global affinity settings are consolidated
and put into a structure kmp_affinity_t. This is in anticipation of the
addition of hidden helper affinity which will have the same syntax and
semantics as KMP_AFFINITY only for the hidden helper team.
Differential Revision: https://reviews.llvm.org/D135109
Commit: b03d67f7f58b305a26bb742860a444ad837f1f42
https://github.com/llvm/llvm-project/commit/b03d67f7f58b305a26bb742860a444ad837f1f42
Author: Jonathan Peyton <jonathan.l.peyton at intel.com>
Date: 2022-10-28 (Fri, 28 Oct 2022)
Changed paths:
M openmp/runtime/src/kmp_affinity.cpp
Log Message:
-----------
[OpenMP][libomp] Make affinity warnings parameterized
Separate change for the warnings to depend on the relevant affinity
settings verbose and warnings settings.
Differential Revision: https://reviews.llvm.org/D135112
Commit: 7a9643fd2a07976576fd82b987d1eca924a747dd
https://github.com/llvm/llvm-project/commit/7a9643fd2a07976576fd82b987d1eca924a747dd
Author: Jonathan Peyton <jonathan.l.peyton at intel.com>
Date: 2022-10-28 (Fri, 28 Oct 2022)
Changed paths:
M openmp/docs/design/Runtimes.rst
M openmp/runtime/src/kmp.h
M openmp/runtime/src/kmp_affinity.cpp
M openmp/runtime/src/kmp_affinity.h
M openmp/runtime/src/kmp_global.cpp
M openmp/runtime/src/kmp_runtime.cpp
M openmp/runtime/src/kmp_settings.cpp
M openmp/runtime/src/z_Linux_util.cpp
A openmp/runtime/test/tasking/hidden_helper_task/affinity.cpp
Log Message:
-----------
[OpenMP][libomp] Add hidden helper affinity
Add new hidden helper affinity via the environment variable,
KMP_HIDDEN_HELPER_AFFINITY, which allows users to assign thread
affinity to hidden helper threads using the same syntax as
KMP_AFFINITY. OMP_PLACES/OMP_PROC_BIND have no interaction with
KMP_HIDDEN_HELPER_AFFINITY.
Differential Revision: https://reviews.llvm.org/D135113
Compare: https://github.com/llvm/llvm-project/compare/71cf48a62a6d...7a9643fd2a07
More information about the All-commits
mailing list