This is an archive of the discontinued LLVM Phabricator instance.

[mlir] Revisit `LinalgLoopDistributionOptions`.
ClosedPublic

Authored by mravishankar on Aug 4 2022, 7:46 PM.

Details

Summary

This patch cleans up the way LinalgLoopDistributionOptions are meant
to be used. The option just contains a call back that takes the list
of loop ranges that represent the loops that are to be distributed.
These loops are the outer parallel loops of the tiled operation which
have non-zero tile sizes specified. The call back returns for each of
the loops,

  • The procId to use,
  • The number of processors,
  • The distribution method to use for that loop.

Diff Detail

Event Timeline

mravishankar created this revision.Aug 4 2022, 7:46 PM
Herald added a project: Restricted Project. · View Herald TranscriptAug 4 2022, 7:46 PM
mravishankar requested review of this revision.Aug 4 2022, 7:46 PM
antiagainst accepted this revision.Aug 5 2022, 9:06 AM

Nice. This has long been a confusing point. Thanks for cleaning it up!

This revision is now accepted and ready to land.Aug 5 2022, 9:06 AM
hanchung accepted this revision.Aug 11 2022, 12:05 PM

Nice cleanup!

This revision was landed with ongoing or failed builds.Aug 15 2022, 8:56 AM
This revision was automatically updated to reflect the committed changes.