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

feat[next][dace]: Add support for lift expressions in neighbor reductions (no unrolling) #1431

Merged
merged 19 commits into from
Feb 2, 2024

Conversation

edopao
Copy link
Contributor

@edopao edopao commented Jan 30, 2024

Baseline dace backend forced unroll of neighbor reductions, in the ITIR pass, in order to eliminate all lift expressions. This PR adds support for lowering of lift expressions in neighbor reductions, thus avoiding the need to unroll reduce expressions. The result is a more compact SDFG, which leaves to the optimization backend the option of unrolling neighbor reductions.

@edopao edopao marked this pull request as ready for review January 31, 2024 08:37
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.

Also at some points you have forgotten to add the debug information.

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 is one point where I am not sure, otherwise it looks fine.

@edopao edopao merged commit e462a2e into GridTools:main Feb 2, 2024
28 checks passed
@edopao edopao deleted the dace-neighbor_reduction branch February 2, 2024 15:35
edopao added a commit to edopao/gt4py that referenced this pull request Feb 13, 2024
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