Skip to content

Conversation

@philip-paul-mueller
Copy link
Contributor

@philip-paul-mueller philip-paul-mueller commented Aug 12, 2025

Before the rerouting utility did not handle library nodes.
This PR adds the capability to handle reduction nodes, not library nodes in general.
It solves the error observed in ICON4Py PR#822.

@philip-paul-mueller
Copy link
Contributor Author

This PR fixes the issue observed in the failing tests of ICON4Py PR#822.
The reroute functionality was before tested indirectly, through other transformations, since it was an integral part.
However, I realized when I implemented the case for the reduction library node, that a proper specific testing is missing, so I started on in PR#2216.
The only reason why they are separated is for scheduling reasons.

@philip-paul-mueller philip-paul-mueller changed the title feat[dace][next]: New Case For CopyChainRemover feat[dace][next]: Added Reduction Node Capabilities to the Rerouting Utility Aug 13, 2025
@philip-paul-mueller
Copy link
Contributor Author

Note that this PR is highly related to PR#2216, which adds unit tests explicitly for the rerouting functionality.
It is, however, independent form it.

@philip-paul-mueller philip-paul-mueller marked this pull request as ready for review August 13, 2025 07:04
Copy link
Contributor

@havogt havogt 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 906c1aa into GridTools:main Aug 13, 2025
23 checks passed
@philip-paul-mueller philip-paul-mueller deleted the new_case_in_copy_chain_remover branch October 9, 2025 05:58
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