[Openmp-commits] [PATCH] D112027: [OpenMP][libomp] Allow users to specify KMP_HW_SUBSET in any order

Jonathan Peyton via Phabricator via Openmp-commits openmp-commits at lists.llvm.org
Mon Oct 18 12:29:50 PDT 2021


jlpeyton created this revision.
jlpeyton added reviewers: AndreyChurbanov, tlwilmar, hbae, 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.

Remove restriction forcing users to specify the KMP_HW_SUBSET value in
topology order. This patch sorts the user KMP_HW_SUBSET value before
trying to apply it. For example: 1s,4c,2t is equivalent to 2t,1s,4c


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D112027

Files:
  openmp/runtime/src/kmp_affinity.cpp
  openmp/runtime/src/kmp_affinity.h
  openmp/runtime/test/affinity/kmp-hw-subset.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112027.380495.patch
Type: text/x-patch
Size: 3979 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/openmp-commits/attachments/20211018/8ecb1afa/attachment.bin>


More information about the Openmp-commits mailing list