IntelPython / dpnp

Data Parallel Extension for NumPy
BSD 2-Clause "Simplified" License
94 stars 21 forks source link

Rework implementation of `dpnp.fabs` function #1878

Closed antonwolfy closed 1 month ago

antonwolfy commented 1 month ago

The PR proposes to rework implementation of dpnp.fabs function which is quite limited now.

It assumes to have a separate _ufunc_impl pybind11 extension to aggravate all universal functions which are not provided by dpctl tensor implementation, but requires to be aligned with NumPy.

The new extension is implemented following similar approach as for _vm_impl extension and proposes to reuse existing UnaryElementwiseFunc functionality from dpctl tensor.

github-actions[bot] commented 1 month ago

View rendered docs @ https://intelpython.github.io/dpnp/index.html