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]: Output argument with non-zero domain start #1780

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

tehrengruber
Copy link
Contributor

@tehrengruber tehrengruber commented Dec 10, 2024

field = gtx.as_field(gtx.domain({IDim: (1, 10)}), arr)
field_operator(out=field)

This PR also adds a test for non-zero domain start input arguments, which already worked before.

TODO: Dace support is missing.

cases.verify(cartesian_case, copy_program, inp, out=out, ref=ref)


def test_in_field_arg_with_non_zero_domain_start(cartesian_case, copy_program_def):
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This already worked before, I've just added a test.

@tehrengruber tehrengruber changed the title feat[next]: Field args with non-zero domain start feat[next]: Output argument with non-zero domain start Dec 11, 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