[all-commits] [llvm/llvm-project] a0afb9: [OpenMP][libomp] Allow users to specify KMP_HW_SUB...

Jonathan Peyton via All-commits all-commits at lists.llvm.org
Wed Nov 17 13:28:11 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a0afb9d0fc2b6b1a0e89c9cd8f0bd1d839e740ce
      https://github.com/llvm/llvm-project/commit/a0afb9d0fc2b6b1a0e89c9cd8f0bd1d839e740ce
  Author: Peyton, Jonathan L <jonathan.l.peyton at intel.com>
  Date:   2021-11-17 (Wed, 17 Nov 2021)

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

  Log Message:
  -----------
  [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




More information about the All-commits mailing list