Skip to content

Conversation

@tylerjereddy
Copy link
Contributor

  • bring positive() ufunc up to API standard and turn its test on in the CI; since positive() essentially returns a copy view, this can be done fairly simply it seems, though I do wonder if we need to do it differently on GPU (conversely, view assignment in Python should probably just happen naturally depending on default execution space, though I kind of doubt it at the moment)

  • also required shims to __eq__ for Subview, basically copying the implementation used for regular View

  • an adjustment to equal() ufunc was needed to correctly handle two size-0 views it seems

  • I had to add test_isnan and test_equal to the CI API standard testing as well because of
    ENH: add full_like #174 (comment) (I'm modifying those ufuncs here and need to make sure their tests still pass...)

  • I needed to make some weird change to _typematch_views -- if you find a way to avoid that, by all means push it in

* bring `positive()` ufunc up to API standard and turn its test
on in the CI; since `positive()` essentially returns a copy view,
this can be done fairly simply it seems, though I do wonder if we
need to do it differently on GPU (conversely, view assignment in
Python should probably just happen naturally depending on default
execution space, though I kind of doubt it at the moment)

* also required shims to `__eq__` for `Subview`, basically copying
the implementation used for regular `View`

* an adjustment to `equal()` ufunc was needed to correctly handle
two size-0 views it seems

* I had to add `test_isnan` and `test_equal` to the CI API standard
testing as well because of
kokkos#174 (comment)
(I'm modifying those ufuncs here and need to make sure their tests still
pass...)

* I needed to make some weird change to `_typematch_views` -- if you
find a way to avoid that, by all means push it in
@NaderAlAwar NaderAlAwar merged commit fcd3e52 into kokkos:develop Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants