Skip to content
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

Fix array indirection to memlet subset promotion #1406

Merged
merged 5 commits into from
Sep 24, 2024

Conversation

BenWeber42
Copy link
Contributor

The current solution is rather hacky. I want to run the tests first to see the impacts of this change.
Additionally, there is no test yet, because validation doesn't catch the erroneous SDFG yet.

Overall, it's not clear currently how to solve the issue and the PR might change as we progress...

@BenWeber42 BenWeber42 requested a review from tbennun November 13, 2023 14:52
@BenWeber42 BenWeber42 force-pushed the fix-advanced-free-symbols branch from 31b15c3 to 8946323 Compare September 17, 2024 19:53
from dace import subsets


def test_double_index_bug():
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe I should put this test somewhere else? 🤔

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably in tests/passes/scalar_to_symbol_promotion_test.py?

Copy link
Collaborator

@tbennun tbennun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, see comment about test.

from dace import subsets


def test_double_index_bug():
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably in tests/passes/scalar_to_symbol_promotion_test.py?

@@ -0,0 +1,48 @@
# Copyright 2019-2023 ETH Zurich and the DaCe authors. All rights reserved.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

year

@tbennun tbennun enabled auto-merge September 24, 2024 19:45
@tbennun tbennun added this pull request to the merge queue Sep 24, 2024
Merged via the queue into spcl:master with commit 9945f48 Sep 24, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Double index lookup in tasklet breaks under simplification
2 participants