This is an archive of the discontinued LLVM Phabricator instance.

[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 Timeline

ezhulenev created this revision.Dec 8 2020, 4:35 AM
ezhulenev requested review of this revision.Dec 8 2020, 4:35 AM
ezhulenev edited the summary of this revision. (Show Details)Dec 8 2020, 4:40 AM
mehdi_amini accepted this revision.Dec 8 2020, 8:45 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
This revision was automatically updated to reflect the committed changes.