-
Notifications
You must be signed in to change notification settings - Fork 77
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dialects: (linalg) add correct generic printing for fill, and matmul (#…
…2971) I happened to need the fill operator and decided to do the matmul as well. This continues the work of #2959 I also made sure that the code works on more than just floating points values. I moved some duplicate code to determine the type arguments of the hidden region into a common method of the `NamedOp` base class. I also used the implicit builder to build the regions as I think this is much more readable. Doing the matmul was a bit more tricky: - for some reason this op prints the attributes in front of the `ins` and `outs` - generic from includes the `linalg.memoized_indexing_maps` attribute, which are the indexing maps that would be generated when converting to a linalg
- Loading branch information
1 parent
edeae99
commit 3543d82
Showing
6 changed files
with
217 additions
and
171 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.