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

Validate NestedSDFG inout connectors #1333

Merged
merged 14 commits into from Aug 3, 2023
Merged

Conversation

alexnick83
Copy link
Contributor

@alexnick83 alexnick83 commented Jul 26, 2023

This PR adds an extra validation check for NestedSDFGs: connectors that are both input and output must connect to the same arrays in the parent SDFG.

EDIT: The PR also addresses an issue where SubgraphFusion leads to SDFGs that fail the above validation check.

Copy link
Contributor

@acalotoiu acalotoiu left a comment

Choose a reason for hiding this comment

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

LGTM, this is a very important fix! One small request: please add explanatory comments to the functions added to utils, as they might be useful beyond the scope of this PR.

Copy link
Contributor

@acalotoiu acalotoiu left a comment

Choose a reason for hiding this comment

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

Thank you!

@alexnick83 alexnick83 merged commit dc70efe into master Aug 3, 2023
9 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.

None yet

5 participants