-
Notifications
You must be signed in to change notification settings - Fork 49
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat[next][dace]: Canonicalize GTIR to enable lowering to SDFG for sp…
…ecial cases (#1681) Introduce a utility function `patch_gtir` that makes the IR compliant with the requirements of lowering to SDFG: - Add support for `as_fieldop` expressions that broadcast a scalar value on a field. - Add support for GTIR workaround in domain inference, where the domain is not inferred on the tuple fields that are not referenced. Additionally, apply some refactoring: - Use `im.domain` to construct the domain in gtir-to-sdfg tests. - Rename `ValueExpr` to `DataExpr` and `IteratorIndexExpr` to `ValueExpr`
- Loading branch information
Showing
6 changed files
with
188 additions
and
182 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
Oops, something went wrong.