[Openmp-commits] [PATCH] D109921: [OpenMP][host runtime] Add support for teams affinity
Jonathan Peyton via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Thu Sep 16 13:36:40 PDT 2021
jlpeyton created this revision.
jlpeyton added reviewers: AndreyChurbanov, hbae, tlwilmar, Nawrin.
jlpeyton added a project: OpenMP.
Herald added subscribers: guansong, yaxunl.
jlpeyton requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a subscriber: sstefan1.
This patch implements teams affinity on the host.
The default is spread. A user can specify either spread, close, or
primary using `KMP_TEAMS_PROC_BIND` environment variable. Unlike
`OMP_PROC_BIND`, `KMP_TEAMS_PROC_BIND` is only a single value and is not a
list of values. The values follow the same semantics under the OpenMP
specification for parallel regions except T is the number of teams in
a league instead of the number of threads in a parallel region.
rG LLVM Github Monorepo
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 32287 bytes
Desc: not available
More information about the Openmp-commits