[all-commits] [llvm/llvm-project] 0808d9: [OpenMP] libomp: Fix handling of barrier pattern e...

Andrey Churbanov via All-commits all-commits at lists.llvm.org
Mon Nov 8 04:02:20 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0808d956c43e10646bc3f79ef5f9ccf12fc829f3
      https://github.com/llvm/llvm-project/commit/0808d956c43e10646bc3f79ef5f9ccf12fc829f3
  Author: @t-msn <misono.tomohiro at fujitsu.com>
  Date:   2021-11-08 (Mon, 08 Nov 2021)

  Changed paths:
    M openmp/runtime/src/kmp_settings.cpp

  Log Message:
  -----------
  [OpenMP] libomp: Fix handling of barrier pattern environment variables

It is better to set all barrier patterns to use "dist" when at least
one environment variable specifies "dist". Otherwise if only one
environment is set to "dist" and others left blank inadvertently,
it would result in mixing dist barrier with default hyper barrier
pattern.

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




More information about the All-commits mailing list