-
Notifications
You must be signed in to change notification settings - Fork 129
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memlet Error in RedundantArray (simplify) #1595
Comments
philip-paul-mueller
added a commit
to philip-paul-mueller/jace
that referenced
this issue
Jun 17, 2024
…g in DaCe. See spcl/dace#1595 for more information.
philip-paul-mueller
added a commit
to philip-paul-mueller/dace
that referenced
this issue
Jun 19, 2024
It essentially creates a special case for it and applies then the correct way. This is not very good but it works and I have no better solution.
philip-paul-mueller
added a commit
to philip-paul-mueller/dace
that referenced
this issue
Jun 19, 2024
This is for investigate why the CI fails. After this commit all tests except the one I had added should pass. And NOAA which should also fail. This reverts commit 742568d.
philip-paul-mueller
added a commit
to philip-paul-mueller/dace
that referenced
this issue
Jun 19, 2024
This reverts commit 8ec3c58.
github-merge-queue bot
pushed a commit
that referenced
this issue
Jul 4, 2024
This PR fixes an issue that was reported as [issue 1595](#1595), that was traced back to `RedundantArray`. The commit adds a deterministic test, unlike the one in the issue, that fails without the fix. The underlying problem is, that the transformation does not correctly handle a Memlet that performs a reshaping. This commit does not really solves the issue, instead it adds a special case for this particular case and then handles it correctly as I was unable to modify the code to handle it correctly. It is not a nice solution, but it works.
This issue seems to be solved by PR1603, but be aware of issue 1644 which is similar but happens in a different context. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I found a bug in simplify, as far as I can tell it is located it is inside
RedundantArray
The error is about a Memlet, that performs some reshaping.
A further issue that makes the whole thing complicated is, that the error depends on the processing order, the bug only appears in some cases, which makes it hard to debug.
I was able to find a minimal example that triggers the bug, but not always, so you have to run it multiple times.
The text was updated successfully, but these errors were encountered: