diff options
author | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2021-12-15 14:36:44 -0600 |
---|---|---|
committer | Jonathan Peyton <jonathan.l.peyton@intel.com> | 2021-12-20 13:45:21 -0600 |
commit | 6a556ecaf4c3ab9082a8be67d5509d2dfc13e5d3 (patch) | |
tree | 599aca9dc70902f3b35cdf7a08b2b64024f551ef /mlir/lib/Bindings/Python/IRModule.cpp | |
parent | b600215e80d0a490375c00662bd6e7fab9f22c43 (diff) | |
download | llvm-6a556ecaf4c3ab9082a8be67d5509d2dfc13e5d3.zip llvm-6a556ecaf4c3ab9082a8be67d5509d2dfc13e5d3.tar.gz llvm-6a556ecaf4c3ab9082a8be67d5509d2dfc13e5d3.tar.bz2 |
[OpenMP][libomp] Add use-all syntax to KMP_HW_SUBSET
This patch allows the user to request all resources of a particular
layer (or core-attribute). The syntax of KMP_HW_SUBSET is modified
so the number of units requested is optional or can be replaced with an
'*' character.
e.g., KMP_HW_SUBSET=c:intel_atom@3 will use all the cores after offset 3
e.g., KMP_HW_SUBSET=*c:intel_core will use all the big cores
e.g., KMP_HW_SUBSET=*s,*c,1t will use all the sockets, all cores per
each socket and 1 thread per core.
Differential Revision: https://reviews.llvm.org/D115826
Diffstat (limited to 'mlir/lib/Bindings/Python/IRModule.cpp')
0 files changed, 0 insertions, 0 deletions