-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add lower dim tests #9
base: int_cast_aboslute_k_debug
Are you sure you want to change the base?
Conversation
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.
Callback is gone, not sure why
): | ||
with computation(PARALLEL): | ||
with interval(0, 1): | ||
out_field[0, 0, 0] = in_field[1] |
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 truly should fail in my opinion. The default behavior that allows you to not index data dimensions is too magical. We have something showing in GEOS-ESM/NDSL#43 that is around that behavior
@@ -167,9 +167,6 @@ def visit_TemporaryDecl( | |||
|
|||
VarKOffset = as_fmt("lk + {k}") | |||
|
|||
def visit_CallbackCall(self, node: npir.CallbackCall) -> Union[str, Collection[str]]: |
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.
Remove because that's the default behavior? Or am I missing something
Description
After realizing that there was an issue with lower-dimensional fields in the debug-backend, this PR adds a test to check correctness.
Requirements
Before submitting this PR, please make sure: