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]: Use gt4py symbols for field size as dace array shape #1458

Merged
merged 2 commits into from
Feb 19, 2024

Conversation

edopao
Copy link
Contributor

@edopao edopao commented Feb 16, 2024

This PR changes the ITIR DaCe backend to reuse the gt4py symbols for field size as dace symbols in array shape. The gt4py symbols are passed as scalar arguments to the program and are used in the definition of the closure domain.

The advantage of this solution is twofold:

  1. Less dace symbols in SDFG generation
  2. The symbolic definition of the closure domain is consistent with field symbolic shape

@edopao edopao marked this pull request as ready for review February 16, 2024 17:32
@edopao edopao merged commit e0a8734 into GridTools:main Feb 19, 2024
31 checks passed
@edopao edopao deleted the dace-field_size_symbols branch February 19, 2024 08:13
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