[all-commits] [llvm/llvm-project] 96696b: [OpenMP][libomp] Fix disabled affinity

Jonathan Peyton via All-commits all-commits at lists.llvm.org
Wed Nov 2 13:38:11 PDT 2022


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

  Changed paths:
    M openmp/runtime/src/kmp.h
    M openmp/runtime/src/kmp_affinity.cpp
    M openmp/runtime/src/kmp_settings.cpp
    A openmp/runtime/test/affinity/disabled.c

  Log Message:
  -----------
  [OpenMP][libomp] Fix disabled affinity

Fix setting affinity type and topology method when affinity is disabled
and fix places that were not taking into account that affinity can be
explicitly disabled by putting proper KMP_AFFINITY_CAPABLE() check.

Differential Revision: https://reviews.llvm.org/D137176




More information about the All-commits mailing list