forked from openxla/stablehlo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use DotOp linalg lowerings for simple DotGeneral ops (openxla#2314)
We are in the process of deprecating DotOp (openxla#2296). To ease the deprecation, we want DotGeneral ops that are equivalent to simple DotOp ops to be lowered to linalg in the same way. In this PR: - Add a "isSimpleDot" method to DotGeneralOp which determines if a DotGeneralOp can be expressed as a DotOp. - Reuse the DotOp linalg lowerings for DotGeneralOp when isSimpleDot. - Remove "DotOperationType" as it is redundant with the linalg op types. openxla#2311
- Loading branch information
mlevesquedion
authored
May 9, 2024
1 parent
c31ba3d
commit 9d4f27d
Showing
6 changed files
with
180 additions
and
80 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
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