Skip to content

fix[next]: Reuse parameters in direct fo calls#2375

Merged
tehrengruber merged 11 commits into
GridTools:mainfrom
SF-N:rename_program_args
Jan 6, 2026
Merged

fix[next]: Reuse parameters in direct fo calls#2375
tehrengruber merged 11 commits into
GridTools:mainfrom
SF-N:rename_program_args

Conversation

@SF-N

@SF-N SF-N commented Nov 6, 2025

Copy link
Copy Markdown
Contributor

Previously, the parameter names in programs implicitly generated on a direct field operator call where of the form __sym<uid> and thus different to the names specified in the field operator definition. This breaks when used in combination with static parameters on field operators (see enabled in #2368). The replacement works by replacing all refs to arguments by their static value. For direct field operator calls this refs are now named the same as in their definition.

@SF-N
SF-N marked this pull request as ready for review November 6, 2025 16:08
@SF-N
SF-N requested a review from tehrengruber November 6, 2025 16:08
Comment thread src/gt4py/next/ffront/foast_to_past.py

@tehrengruber tehrengruber left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Issues in dace still need to be resolved.

@edopao

edopao commented Nov 9, 2025

Copy link
Copy Markdown
Contributor

Issues in dace still need to be resolved.

I opened a PR with the dace fix: #2382

tehrengruber added a commit to tehrengruber/gt4py that referenced this pull request Nov 10, 2025
@tehrengruber
tehrengruber merged commit eb22fae into GridTools:main Jan 6, 2026
23 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.

3 participants