IntelPython / dpnp

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

Rework implementation of `dpnp.fmax` and `dpnp.fmin` functions #1905

Closed antonwolfy closed 2 weeks ago

antonwolfy commented 2 weeks ago

The PR proposes to rework implementation of dpnp.fmax and dpnp.fmin functions which are quite limited now.

There is new VM functions are added to use fmax and fmin from OneMKL library where it's possible. Also the PR adds new binary universal functions _fmax and _fmin to _ufunc_impl pybind11 extension which leverages on dpctl f/w.

The all affected tests are updated to cover different use cases.

github-actions[bot] commented 2 weeks ago

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