[all-commits] [llvm/llvm-project] 072e0a: Enable the use of ThreadPoolTaskGroup in MLIR thre...

Mehdi Amini via All-commits all-commits at lists.llvm.org
Fri May 6 12:40:48 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 072e0aabbc457b8802dcf7b483e3acebfbde1c33
      https://github.com/llvm/llvm-project/commit/072e0aabbc457b8802dcf7b483e3acebfbde1c33
  Author: Mehdi Amini <joker.eph at gmail.com>
  Date:   2022-05-06 (Fri, 06 May 2022)

  Changed paths:
    M mlir/include/mlir/IR/Threading.h

  Log Message:
  -----------
  Enable the use of ThreadPoolTaskGroup in MLIR threading helper to enable nested parallelism

The LLVM ThreadPool recently got the addition of the concept of
ThreadPoolTaskGroup: this is a way to "partition" the threadpool
into a group of tasks and enable nested parallelism through this
grouping at every level of nesting.
We make use of this feature in MLIR threading abstraction to fix a long
lasting TODO and enable nested parallelism.

Reviewed By: rriddle

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




More information about the All-commits mailing list