[Openmp-commits] [PATCH] D135113: [OpenMP][libomp] Add hidden helper affinity

Jonathan Peyton via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Oct 3 15:07:40 PDT 2022


jlpeyton created this revision.
jlpeyton added reviewers: hbae, tlwilmar, Nawrin.
jlpeyton added a project: OpenMP.
Herald added subscribers: guansong, yaxunl.
Herald added a project: All.
jlpeyton requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a subscriber: sstefan1.

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`.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D135113

Files:
  openmp/docs/design/Runtimes.rst
  openmp/runtime/src/kmp.h
  openmp/runtime/src/kmp_affinity.cpp
  openmp/runtime/src/kmp_affinity.h
  openmp/runtime/src/kmp_global.cpp
  openmp/runtime/src/kmp_runtime.cpp
  openmp/runtime/src/kmp_settings.cpp
  openmp/runtime/src/z_Linux_util.cpp
  openmp/runtime/test/tasking/hidden_helper_task/affinity.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135113.464835.patch
Type: text/x-patch
Size: 25688 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20221003/8a96a142/attachment-0001.bin>


More information about the Openmp-commits mailing list