This is an archive of the discontinued LLVM Phabricator instance.

[mlir][vector] NFC remove dependency of VectorTransform to GPU dialect
ClosedPublic

Authored by ThomasRaoux on Jun 15 2022, 8:19 AM.

Details

Summary

Make the reduction distribution pattern more generic and remove layering
problem. The new pattern to distribute reduction is now independent of
GPU and takes a lambda to decide how the distributed reduction should be
generated.

Diff Detail

Event Timeline

ThomasRaoux created this revision.Jun 15 2022, 8:19 AM
Herald added a project: Restricted Project. · View Herald Transcript
ThomasRaoux requested review of this revision.Jun 15 2022, 8:19 AM
springerm accepted this revision.Jun 15 2022, 8:25 AM
springerm added inline comments.
mlir/lib/Dialect/Vector/Transforms/VectorDistribute.cpp
743

I would put this in parentheses or indicate in some other way that this is not the name of an actual op.

This revision is now accepted and ready to land.Jun 15 2022, 8:25 AM

Address review comments

ThomasRaoux marked an inline comment as done.Jun 15 2022, 9:05 AM
This revision was landed with ongoing or failed builds.Jun 15 2022, 9:09 AM
This revision was automatically updated to reflect the committed changes.