-
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.
fix[next][dace]: Fix for
DistributedBufferRelocator
(#1814)
This PR fixes a bug in `DistributedBufferRelocator` that was observed in ICON4Py's `TestUpdateThetaAndExner` test. In essence there was an `assert` that assumed that checked if this temporary was a sink node, but, the code that finds all write backs was never excluding such cases, i.e. the temporaries that were selected might not be sink nodes in the state where they are defined. The `assert` was not part of the original implementation and is not a requirement of the transformation, instead it was introduced by [PR#1799](#1799), that fixed some issues in the analysis of read write dependencies. There are two solutions for this, either removing the `assert` or prune these kinds of temporaries. After some consideration, it was realized that handling such cases will not lead to invalid SDFG, as long as the other restrictions on the global data are respected. For that reason the `assert` was removed. However, we should thinking of doing something more intelligent in that case.
- Loading branch information
1 parent
44578ec
commit 9bbb952
Showing
2 changed files
with
70 additions
and
3 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