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]: Fixing Strides Reconstruction During Propagation #1802

Conversation

philip-paul-mueller
Copy link
Contributor

NestedSDFG essentially allows to perform some slices, there are technically three chases:

  • The data container on the inside has a smaller rank than the one on the outside, thus some dimensions were removed.
  • The data container on the inside has the same rank than the one on the outside.
  • The data container on the inside has a larger rank than the one on the outside, thus some dimensions were added.

The last case is not handled, as it does not happens in GT4Py. Before, the first and second case were handled together, but it was realized that the second case was not implemented properly and it was added explicitly.

This PR fixes the issues with TestFusedVelocityAdvectionStencil1To7 and TestFusedVelocityAdvectionStencil8To13 in ICON4Py#638, however, the later test now fails with a segmentation fault.

NestedSDFG essentially allows to perform some slices, there are technically three chases:
- The data container on the inside has a smaller rank than the one on the outside, thus some dimensions were removed.
- The data container on the inside has the same rank than the one on the outside.
- The data container on the inside has a larger rank than the one on the outside, thus some dimensions were added.

The last case is not handled, as it does not happens in GT4Py.
Before, the first and second case were handled together, but it was realized that the second case was not implemented properly and it was added explicitly.
Copy link
Contributor

@edopao edopao left a comment

Choose a reason for hiding this comment

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

LGTM

@philip-paul-mueller philip-paul-mueller merged commit 1b17202 into GridTools:main Jan 17, 2025
21 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.

2 participants