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[next][dace]: fix map fusion and loop blocking #1856

Merged
merged 395 commits into from
Feb 11, 2025
Merged

Conversation

edopao
Copy link
Contributor

@edopao edopao commented Feb 10, 2025

Improve optimization for icon4py stencil apply_diffusion_to_vn by means of two changes:

  • Ignore check of dynamic volume property on memlet that prevented serial map fusion.
  • Add support for NestedSDFG nodes in loop blocking transformation.

edopao and others added 30 commits January 9, 2025 12:55
This reverts commit f05a730.
…zero_domain_start' into field_arg_with_non_zero_domain_start
…zero_domain_start' into field_arg_with_non_zero_domain_start
Copy link
Contributor

@philip-paul-mueller philip-paul-mueller left a comment

Choose a reason for hiding this comment

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

There are some issues, but it looks generally good.

Copy link
Contributor

@philip-paul-mueller philip-paul-mueller left a comment

Choose a reason for hiding this comment

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

LGTM.

There are some small things:

  • Please move the check of the symbol_mapping of the NestedSDFG to the other NestedSDFG specific cases, see the comment for more detail.
  • In test I would suggest the default: case of the match to throw a NotImplementedError instead of an assert, I think it is a bit more specific. But this is probably a matter of taste.
  • I have fully ignored the changes to map_fusion_serial.py as it will be superseded by fix[dace][next]: Update MapFusion #1857

@edopao edopao merged commit 64b90dc into GridTools:main Feb 11, 2025
23 checks passed
@edopao edopao deleted the gtir-dace branch February 11, 2025 13:14
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