Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
a786c84
Extend _result_typeid() utility ufunc function to template the mappin…
antonwolfy Oct 22, 2025
0eed28c
Remove unnecessary import in ldexp.cpp
antonwolfy Oct 22, 2025
5ebba7f
Declare namespace in correct scope in fmod.cpp
antonwolfy Oct 22, 2025
0bc5d37
Add unary implementation for ufunc with two output arrays
antonwolfy Oct 22, 2025
c2e8ced
Move definition of _result_typeid to the header to avoid undefined re…
antonwolfy Oct 22, 2025
28e4e1a
Extend type_dispatch namespace with TypeMapTwoResultsEntry and Defaul…
antonwolfy Oct 22, 2025
2af03d3
Extend dpctl::tensor::kernels::elementwise_common namespace with supp…
antonwolfy Oct 22, 2025
4596c81
Add frexp implementation to ufunc extension
antonwolfy Oct 22, 2025
05007cb
Add DPNPUnaryTwoOutputsFunc class for unary element-wise functions wi…
antonwolfy Oct 23, 2025
47dd1e7
Add python implementation
antonwolfy Oct 23, 2025
79de111
Enable umath and third party tests
antonwolfy Oct 23, 2025
13524c5
Add CFD tests
antonwolfy Oct 23, 2025
7f69540
Add tests to cover frexp and new class
antonwolfy Oct 23, 2025
e86ab65
Add PR to the changelog
antonwolfy Oct 23, 2025
76cd082
Add more tests to improve the coverage
antonwolfy Oct 27, 2025
4c9bfde
Run test_strides_out only with Linux due to platform dependant result…
antonwolfy Oct 27, 2025
0801610
Update test_empty to test exactly empty input array
antonwolfy Oct 27, 2025
fd19716
Fix TestFrexp::test_basic to work with unsigned dtype
antonwolfy Oct 27, 2025
01fbafc
Peremetrize dtype of the out in TestFrexp::test_out
antonwolfy Oct 27, 2025
a496341
Align signature of rendered docuemntation for dpnp.frexp
antonwolfy Oct 28, 2025
6fd134f
Add description of out keyword
antonwolfy Oct 28, 2025
efd4bfa
Merge branch 'master' into impl-frexp
antonwolfy Oct 29, 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 @@ -16,6 +16,7 @@ The release drops support for Python 3.9, making Python 3.10 the minimum require
* Added `dpnp.exceptions` submodule to aggregate the generic exceptions used by dpnp [#2616](https://github.com/IntelPython/dpnp/pull/2616)
* Added implementation of `dpnp.scipy.special.erfcx` [#2596](https://github.com/IntelPython/dpnp/pull/2596)
* Added implementation of `dpnp.scipy.special.erfinv` and `dpnp.scipy.special.erfcinv` [#2624](https://github.com/IntelPython/dpnp/pull/2624)
* Added implementation of `dpnp.frexp` [#2635](https://github.com/IntelPython/dpnp/pull/2635)

### Changed

Expand Down
10 changes: 8 additions & 2 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@
from sphinx.ext.autodoc import FunctionDocumenter
from sphinx.ext.napoleon import NumpyDocstring, docstring

from dpnp.dpnp_algo.dpnp_elementwise_common import DPNPBinaryFunc, DPNPUnaryFunc
from dpnp.dpnp_algo.dpnp_elementwise_common import (
DPNPBinaryFunc,
DPNPUnaryFunc,
DPNPUnaryTwoOutputsFunc,
)

try:
import comparison_generator
Expand Down Expand Up @@ -206,7 +210,9 @@

# -- Options for todo extension ----------------------------------------------
def _can_document_member(member, *args, **kwargs):
if isinstance(member, (DPNPBinaryFunc, DPNPUnaryFunc)):
if isinstance(
member, (DPNPBinaryFunc, DPNPUnaryFunc, DPNPUnaryTwoOutputsFunc)
):
return True
return orig(member, *args, **kwargs)

Expand Down
480 changes: 480 additions & 0 deletions dpnp/backend/extensions/elementwise_functions/common.hpp

Large diffs are not rendered by default.

Loading
Loading