-
Notifications
You must be signed in to change notification settings - Fork 49
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]: Support for direct field operator call with domain arg #1779
feat[next]: Support for direct field operator call with domain arg #1779
Conversation
) | ||
return tuple(rewritten_args), tuple(size_args), kwargs | ||
|
||
|
||
def _field_constituents_shape_and_dims( | ||
def _field_constituents_range_and_dims( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This part of the code-base is in an extremely poor state, let's not prettify a blobfish and invest time on improving this here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please split into 2 PRs.
…not start at zero
…ll_with_domain_arg
…zero_domain_start' into field_arg_with_non_zero_domain_start
…ll_with_domain_arg
…zero_domain_start' into field_arg_with_non_zero_domain_start
|
Adds support for directly calling a field operator with a domain argument, which was previously only supported inside of a program. Many field operators in icon4py use the domain argument resulting in excessive amounts of boilerplate programs that can be removed now.
Support in the dace backend is missing and will be added in a seperate PR.