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]: Bugfix in neighbor reduction #1456

Merged
merged 8 commits into from
Feb 16, 2024

Conversation

edopao
Copy link
Contributor

@edopao edopao commented Feb 15, 2024

When visiting a neighbor expression, the DaCe ITIR backend was ignoring the node arguments and using directly the closure symbol i_K . The problem found by @kotsaloscv in one diffusion stencil is that the arguments contained a vertical offset, which returns i_K - 1, and this offset was lost.

This PR adds test coverage to GT4Py for the above case.

@edopao edopao marked this pull request as ready for review February 15, 2024 14:17
@edopao edopao merged commit 4276d01 into GridTools:main Feb 16, 2024
31 checks passed
@edopao edopao deleted the fix-neighbor_reduction_with_lifts branch February 16, 2024 08:08
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