This is an archive of the discontinued LLVM Phabricator instance.

[mlir][linalg][python] Add max operation in OpDSL
ClosedPublic

Authored by gysit on Jun 30 2021, 9:13 AM.

Details

Summary

Add the max operation to the OpDSL and introduce a max pooling operation to test the implementation. As MLIR has no builtin max operation, the max function is lowered to a compare and select pair.

Diff Detail

Event Timeline

gysit created this revision.Jun 30 2021, 9:13 AM
gysit requested review of this revision.Jun 30 2021, 9:13 AM
stellaraccident accepted this revision.Jul 1 2021, 1:14 PM

Very nice - good to see this all coming together!

This revision is now accepted and ready to land.Jul 1 2021, 1:14 PM
gysit updated this revision to Diff 356105.Jul 1 2021, 11:40 PM

Rebase.

This revision was landed with ongoing or failed builds.Jul 2 2021, 12:13 AM
This revision was automatically updated to reflect the committed changes.