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

Add skip to sdfg dot simplify #1897

Merged
merged 3 commits into from
Jan 23, 2025
Merged

Add skip to sdfg dot simplify #1897

merged 3 commits into from
Jan 23, 2025

Conversation

ThrudPrimrose
Copy link
Collaborator

I think this change would be convenient, allows us to skip some passes even if we call sdfg.simplify()

@ThrudPrimrose ThrudPrimrose requested a review from tbennun January 22, 2025 14:24
return SimplifyPass(validate=validate,
validate_all=validate_all,
verbose=verbose,
skip=options.get('skip', None),
Copy link
Collaborator

Choose a reason for hiding this comment

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

you'll have to make sure options is not None first.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Why doesn't SDFG.simplify have a skip argument? It would be nicer for a user.

Copy link
Collaborator

Choose a reason for hiding this comment

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

that's probably even better, yes - we should just propagate the argument up to the next API level

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I agree, creating a skip argument is better IMO too.

@phschaad phschaad enabled auto-merge January 22, 2025 16:31
@phschaad phschaad added this pull request to the merge queue Jan 23, 2025
Merged via the queue into main with commit 7771baf Jan 23, 2025
9 checks passed
@phschaad phschaad deleted the add_skip_to_sdfg_dot_simplify branch January 23, 2025 11:32
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.

3 participants