commit | 9b42a6d2a4b670db65a9bf7a6bc63c3293a7d7b4 | [log] [tgz] |
---|---|---|
author | Peyton, Jonathan L <jonathan.l.peyton@intel.com> | Mon Oct 18 13:58:38 2021 -0500 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Nov 17 13:30:59 2021 -0800 |
tree | 8f595a7ceec714a37370c1e9008d05becefbb193 | |
parent | 361b5e4d1ccd6d3c1c48505082de91bff108be2c [diff] |
[OpenMP][libomp] Allow users to specify KMP_HW_SUBSET in any order 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 Differential Revision: https://reviews.llvm.org/D112027 GitOrigin-RevId: a0afb9d0fc2b6b1a0e89c9cd8f0bd1d839e740ce