This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg][python] Update the OpDSL doc (NFC).
ClosedPublic

Authored by gysit on Jun 29 2021, 7:52 AM.

Details

Summary

Update the OpDSL documentation to reflect recent changes. In particular, the updated documentation discusses:

  • Attributes used to parameterize index expressions
  • Shape-only tensor support
  • Scalar parameters

Diff Detail

Event Timeline

gysit created this revision.Jun 29 2021, 7:52 AM
gysit requested review of this revision.Jun 29 2021, 7:52 AM
stellaraccident accepted this revision.Jun 29 2021, 8:31 AM

Thank you. Also, i just noticed that this file was not put in a great place: can it be moved to the linalg directory?

This revision is now accepted and ready to land.Jun 29 2021, 8:31 AM
gysit updated this revision to Diff 355512.Jun 30 2021, 5:22 AM

Update to current state of the OpDSL syntax.

gysit added a comment.Jun 30 2021, 5:25 AM

Thank you. Also, i just noticed that this file was not put in a great place: can it be moved to the linalg directory?

I think the tool folder is still a better fit than the dialect folder? We could create a Tools/Linalg/OpDSL.md and then properly link it Dialects/Linalg.md?

I will create a separate revision for this.

This revision was landed with ongoing or failed builds.Jun 30 2021, 5:30 AM
This revision was automatically updated to reflect the committed changes.