This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Add an option to control the number of loops in affine parallelizer
ClosedPublic

Authored by ftynse on Dec 7 2020, 7:18 AM.

Details

Summary

Add a pass option to control the number of nested parallel loops produced by
the parallelization passes. This is useful to build end-to-end passes targeting
systems that don't need multiple parallel dimensions (e.g., CPUs typically need
only one).

Diff Detail

Event Timeline

ftynse created this revision.Dec 7 2020, 7:18 AM
ftynse requested review of this revision.Dec 7 2020, 7:18 AM
chelini accepted this revision.Dec 7 2020, 9:09 AM
This revision is now accepted and ready to land.Dec 7 2020, 9:09 AM
wsmoses accepted this revision.Dec 7 2020, 12:32 PM
ftynse edited the summary of this revision. (Show Details)Dec 8 2020, 1:44 AM