[Openmp-commits] [PATCH] D135109: [OpenMP][libomp] Parameterize affinity initialization

Jonathan Peyton via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Oct 3 15:02:28 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.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D135109

Files:
  openmp/runtime/src/kmp.h
  openmp/runtime/src/kmp_affinity.cpp
  openmp/runtime/src/kmp_affinity.h
  openmp/runtime/src/kmp_barrier.cpp
  openmp/runtime/src/kmp_csupport.cpp
  openmp/runtime/src/kmp_ftn_entry.h
  openmp/runtime/src/kmp_global.cpp
  openmp/runtime/src/kmp_runtime.cpp
  openmp/runtime/src/kmp_settings.cpp
  openmp/runtime/src/kmp_version.cpp
  openmp/runtime/src/ompt-general.cpp
  openmp/runtime/src/z_Linux_util.cpp
  openmp/runtime/src/z_Windows_NT_util.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D135109.464830.patch
Type: text/x-patch
Size: 93719 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20221003/d1ce3fa1/attachment-0001.bin>


More information about the Openmp-commits mailing list