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 if expressions with tuple argument #1393

Merged
merged 4 commits into from
Dec 12, 2023

Conversation

edopao
Copy link
Contributor

@edopao edopao commented Dec 12, 2023

Description

Some icon4py stencils require support for if expressions with tuple arguments. This PR adds support to the DaCe backend in the visitor of builtin_if function.
Additionally, this PR contains one fix in the result of builtin_tuple_get, which should return a list.

@edopao edopao requested a review from kotsaloscv December 12, 2023 11:38
@edopao edopao marked this pull request as ready for review December 12, 2023 11:38
@edopao edopao merged commit 8e64458 into GridTools:main Dec 12, 2023
@edopao edopao deleted the dace-if_with_tuple_args branch December 12, 2023 12:04
edopao added a commit to edopao/gt4py that referenced this pull request Dec 12, 2023
havogt pushed a commit that referenced this pull request Dec 12, 2023
Fix for broken DaCe test in baseline:
- use `flatten_list` to get `ValueExpr` arguments to numeric builtin function

Additionally, enable test for DaCe backend (left-over from PR #1393).
edopao added a commit to edopao/gt4py that referenced this pull request Dec 13, 2023
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