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

Issue a warning when to_sdfg() ignores the auto_optimize flag (Issue #1380). #1395

Merged
merged 5 commits into from
Nov 14, 2023

Conversation

philip-paul-mueller
Copy link
Collaborator

As it was discussed the ignoring of the auto_optimize flag in to_sdfg() is intentional. To make it clear to the user the function now issues a warning in this case.

As it was discussed the ignoring of the `auto_optimize` flag in `to_sdfg()` is intentional. To make it clear to the user the function now issues a warning in this case.
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.

LGTM, tried to be slightly more direct about what’s happening

dace/frontend/python/parser.py Outdated Show resolved Hide resolved
@BenWeber42 BenWeber42 linked an issue Oct 19, 2023 that may be closed by this pull request
@BenWeber42
Copy link
Contributor

Please change the PR title to be more descriptive. It will become the commit message after merging the PR.

Thanks for the contribution 👍

@philip-paul-mueller philip-paul-mueller changed the title This commit addresses issue #1380. Issue a warning when to_sdfg() ignores the auto_optimize flag (Issue #1380). Oct 30, 2023
@philip-paul-mueller
Copy link
Collaborator Author

@BenWeber42 Renamed the issue.
Sorry just saw it now.

@tbennun tbennun self-requested a review October 30, 2023 15:44
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.

LGTM

@BenWeber42
Copy link
Contributor

Test failure seems to be spurious (see #1421). I initiated a re-run. Hopefully, it'll pass (I enabled debug-log, this might help otherwise).

@BenWeber42 BenWeber42 merged commit 43ca982 into spcl:master Nov 14, 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.

issue a warning when to_sdfg() ignores auto_optimize flag
4 participants