[all-commits] [llvm/llvm-project] 9f5d6e: [OpenMP] Fix performance regression reported in bu...

Shilei Tian via All-commits all-commits at lists.llvm.org
Wed Aug 4 09:35:02 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9f5d6ea52eb120ba370bf16ee0537602c6fc727e
      https://github.com/llvm/llvm-project/commit/9f5d6ea52eb120ba370bf16ee0537602c6fc727e
  Author: Shilei Tian <tianshilei1992 at gmail.com>
  Date:   2021-08-04 (Wed, 04 Aug 2021)

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

  Log Message:
  -----------
  [OpenMP] Fix performance regression reported in bug #51235

This patch fixes the "performance regression" reported in https://bugs.llvm.org/show_bug.cgi?id=51235. In fact it has nothing to do with performance. The root cause is, the stolen task is not allowed to execute by another thread because by default it is tied task. Since hidden helper task will always be executed by hidden helper threads, it should be untied.

Reviewed By: protze.joachim

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




More information about the All-commits mailing list