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);
Paths
| Differential D92835
[mlir] Async: Add numWorkerThreads argument to createAsyncParallelForPass ClosedPublic Authored by ezhulenev on Dec 8 2020, 4:35 AM.
Details Summary 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);
Diff Detail
Event TimelineHerald added subscribers: teijeong, rdzhabarov, tatianashp and 14 others. · View Herald TranscriptDec 8 2020, 4:35 AM This revision is now accepted and ready to land.Dec 8 2020, 8:45 AM This revision was landed with ongoing or failed builds.Dec 8 2020, 10:30 AM Closed by commit rG94e645f9cce8: [mlir] Async: Add numWorkerThreads argument to createAsyncParallelForPass (authored by ezhulenev). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 310274 mlir/include/mlir/Dialect/Async/Passes.h
mlir/lib/Dialect/Async/Transforms/AsyncParallelFor.cpp
|