[all-commits] [llvm/llvm-project] c44ba0: [OpenMP] libomp: honor passive wait policy request...

Andrey Churbanov via All-commits all-commits at lists.llvm.org
Wed May 18 08:08:16 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c44ba01de7f050f126a8a7b2ddeb6286237bb384
      https://github.com/llvm/llvm-project/commit/c44ba01de7f050f126a8a7b2ddeb6286237bb384
  Author: AndreyChurbanov <andrey.churbanov at intel.com>
  Date:   2022-05-18 (Wed, 18 May 2022)

  Changed paths:
    M openmp/runtime/src/kmp.h
    M openmp/runtime/src/kmp_global.cpp
    M openmp/runtime/src/kmp_settings.cpp
    M openmp/runtime/src/kmp_tasking.cpp
    M openmp/runtime/src/kmp_wait_release.h

  Log Message:
  -----------
  [OpenMP] libomp: honor passive wait policy requested with tasking

Currently the library ignores requested wait policy in the presence
of tasking. Threads always actively spin. The patch fixes this problem
making the wait policy passive if this explicitly requested by user.

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




More information about the All-commits mailing list