-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Before a map without any parameter was considered not invalid, it would pass validation, but most likly compilation would fail (except it is a serial map). This PR adds: - Disallows such maps. - Fixes a small bug in the constructor of the `Map` object. - It updates `TrivialMapElimination` such that it correctly handles the case if it has dynamic map ranges. - It removes the `TrivialMapRangeElimination` transformation as it is redundant and contained a bug. --------- Co-authored-by: Tal Ben-Nun <[email protected]>
- Loading branch information
1 parent
95c65be
commit d31dd7b
Showing
6 changed files
with
142 additions
and
147 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
48 changes: 0 additions & 48 deletions
48
dace/transformation/dataflow/trivial_map_range_elimination.py
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.