[all-commits] [llvm/llvm-project] 94e645: [mlir] Async: Add numWorkerThreads argument to cre...

Eugene Zhulenev via All-commits all-commits at lists.llvm.org
Tue Dec 8 10:30:35 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 94e645f9cce8fba26b4aec069103794f1779065f
      https://github.com/llvm/llvm-project/commit/94e645f9cce8fba26b4aec069103794f1779065f
  Author: Eugene Zhulenev <ezhulenev at google.com>
  Date:   2020-12-08 (Tue, 08 Dec 2020)

  Changed paths:
    M mlir/include/mlir/Dialect/Async/Passes.h
    M mlir/lib/Dialect/Async/Transforms/AsyncParallelFor.cpp

  Log Message:
  -----------
  [mlir] Async: Add numWorkerThreads argument to createAsyncParallelForPass

Add an option to pass the number of worker threads to select the number of async regions for parallel for transformation.
```
std::unique_ptr<OperationPass<FuncOp>> createAsyncParallelForPass(int numWorkerThreads);
```

Reviewed By: mehdi_amini

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




More information about the All-commits mailing list