Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
3ed8de2
Extend ufunc f/w to support binary funcs with two output arrays
antonwolfy Nov 19, 2025
a451607
Add dovmod implementation to ufunc extensions
antonwolfy Nov 19, 2025
1cae235
Add a function with SYCL kernel for divmod
antonwolfy Nov 19, 2025
6b62023
Add new DPNPBinaryTwoOutputsFunc class
antonwolfy Nov 19, 2025
d97c515
Add python implementation of divmod
antonwolfy Nov 19, 2025
0383fe9
Enabled muted umath tests
antonwolfy Nov 19, 2025
a533f1d
Add new test scope for binary ufuncs with two output arrays
antonwolfy Nov 19, 2025
09a80a8
Enable third party tests
antonwolfy Nov 19, 2025
5c59804
Add support of python built-in function divmod()
antonwolfy Nov 19, 2025
61141a4
Enable third party tests for elementwise operations
antonwolfy Nov 19, 2025
1940eb5
Remove unexsting keyword from docstring of DPNPBinaryTwoOutputsFunc c…
antonwolfy Dec 16, 2025
ac20a0e
Skip some tests for inplace operator due to numpy casting issue
antonwolfy Dec 16, 2025
7527d70
Adopt elementwise op tests to pass on a device without fp64 support
antonwolfy Dec 16, 2025
2bdba72
Suppress numpy overflow warning
antonwolfy Dec 16, 2025
0344c1a
Update test with ufunc signature to be passed on Windows
antonwolfy Dec 16, 2025
4db5d0e
Extend ufunc tests with binary ufunc divmod
antonwolfy Dec 16, 2025
24ed9bd
Add more tests to improve tests coverage for DPNPBinaryTwoOutputsFunc…
antonwolfy Dec 17, 2025
3c9e528
Add more tests with different input values to cover corner cases in c…
antonwolfy Dec 17, 2025
3d9ef40
Add CFD tests
antonwolfy Dec 17, 2025
abf3eaa
Update skip reason in third party test
antonwolfy Dec 17, 2025
7cfe338
Add testing of divmod operator
antonwolfy Dec 17, 2025
58b1a03
Render documentation for __rdivmod__ method
antonwolfy Dec 17, 2025
ffeba18
Add a link to python documentation of divmod function
antonwolfy Dec 17, 2025
7b0c529
Add PR to the changelog
antonwolfy Dec 17, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ Also, that release drops support for Python 3.9, making Python 3.10 the minimum
* Added implementation of `dpnp.ndarray.tobytes` method [#2656](https://github.com/IntelPython/dpnp/pull/2656)
* Added implementation of `dpnp.ndarray.__format__` method [#2662](https://github.com/IntelPython/dpnp/pull/2662)
* Added implementation of `dpnp.ndarray.__bytes__` method [#2671](https://github.com/IntelPython/dpnp/pull/2671)
* Added implementation of `dpnp.divmod` [#2674](https://github.com/IntelPython/dpnp/pull/2674)

### Changed

Expand Down
2 changes: 2 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
from dpnp.dpnp_algo.dpnp_elementwise_common import (
DPNPBinaryFunc,
DPNPBinaryFuncOutKw,
DPNPBinaryTwoOutputsFunc,
DPNPUnaryFunc,
DPNPUnaryTwoOutputsFunc,
)
Expand Down Expand Up @@ -215,6 +216,7 @@ def _can_document_member(member, *args, **kwargs):
(
DPNPBinaryFunc,
DPNPBinaryFuncOutKw,
DPNPBinaryTwoOutputsFunc,
DPNPUnaryFunc,
DPNPUnaryTwoOutputsFunc,
),
Expand Down
1 change: 1 addition & 0 deletions doc/reference/ndarray.rst
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,7 @@ Arithmetic, reflected:
ndarray.__rtruediv__
ndarray.__rfloordiv__
ndarray.__rmod__
ndarray.__rdivmod__
ndarray.__rpow__
ndarray.__rlshift__
ndarray.__rrshift__
Expand Down
2 changes: 2 additions & 0 deletions dpnp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@
cumulative_prod,
cumulative_sum,
diff,
divmod,
divide,
ediff1d,
fabs,
Expand Down Expand Up @@ -890,6 +891,7 @@
"deg2rad",
"degrees",
"diff",
"divmod",
"divide",
"ediff1d",
"exp",
Expand Down
Loading
Loading