[all-commits] [llvm/llvm-project] df2059: [OpenMP][libomp] Add core attributes to KMP_HW_SUBSET
Jonathan Peyton via All-commits
all-commits at lists.llvm.org
Fri Dec 10 12:35:00 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: df20599597079d620acb9ec2161fb54f838fbbb4
https://github.com/llvm/llvm-project/commit/df20599597079d620acb9ec2161fb54f838fbbb4
Author: Jonathan Peyton <jonathan.l.peyton at intel.com>
Date: 2021-12-10 (Fri, 10 Dec 2021)
Changed paths:
M openmp/docs/design/Runtimes.rst
M openmp/runtime/src/i18n/en_US.txt
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_settings.cpp
Log Message:
-----------
[OpenMP][libomp] Add core attributes to KMP_HW_SUBSET
Allow filtering of resources based on core attributes. There are two new
attributes added:
1) Core Type (intel_atom, intel_core)
2) Core Efficiency (integer) where the higher the efficiency, the more
performant the core
On hybrid architectures , e.g., Alder Lake, users can specify
KMP_HW_SUBSET=4c:intel_atom,4c:intel_core to select the first four Atom
and first four Big cores. The can also use the efficiency syntax. e.g.,
KMP_HW_SUBSET=2c:eff0,2c:eff1
Differential Revision: https://reviews.llvm.org/D114901
More information about the All-commits
mailing list