You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat[next]: Enable tests for embedded with cupy (#1372)
Introduces mechanism in tests for having different allocators for the same (`None`) backend.
Fixes:
- The resulting buffer for scan is deduced from the buffer type of the arguments, if there are no arguments we fallback to numpy (maybe break). We need to find a mechanism for this corner case. Currently these tests are excluded with `pytest.mark.uses_scan_without_field_args` for cupy embedded execution.
Refactoring:
- make common.field and common.connectivity private
- rename next_tests.exclusion_matrices to definitions
TODOs for later:
- `broadcast` of scalar ignores the broadcast
---------
Co-authored-by: Enrique González Paredes <[email protected]>
# TODO(havogt) implement with FunctionField, the workaround is to ignore broadcasting on scalars as they broadcast automatically, but we lose the check for compatible dimensions
192
+
returnfield# type: ignore[return-value] # see comment above
0 commit comments