Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
dfa6fbd
Extend _result_typeid() utility ufunc function to template the mappin…
antonwolfy Oct 22, 2025
ef5b875
Remove unnecessary import in ldexp.cpp
antonwolfy Oct 22, 2025
a34c560
Declare namespace in correct scope in fmod.cpp
antonwolfy Oct 22, 2025
2e560b7
Add unary implementation for ufunc with two output arrays
antonwolfy Oct 22, 2025
0c8f097
Move definition of _result_typeid to the header to avoid undefined re…
antonwolfy Oct 22, 2025
9d7969d
Extend type_dispatch namespace with TypeMapTwoResultsEntry and Defaul…
antonwolfy Oct 22, 2025
1080118
Extend dpctl::tensor::kernels::elementwise_common namespace with supp…
antonwolfy Oct 22, 2025
65522b8
Add frexp implementation to ufunc extension
antonwolfy Oct 22, 2025
2a11871
Add DPNPUnaryTwoOutputsFunc class for unary element-wise functions wi…
antonwolfy Oct 23, 2025
b597d6e
Add python implementation
antonwolfy Oct 23, 2025
f79791e
Enable umath and third party tests
antonwolfy Oct 23, 2025
e8f140d
Add CFD tests
antonwolfy Oct 23, 2025
9ca2307
Add tests to cover frexp and new class
antonwolfy Oct 23, 2025
6f0380e
Add PR to the changelog
antonwolfy Oct 23, 2025
e0654bd
Add more tests to improve the coverage
antonwolfy Oct 27, 2025
1902114
Run test_strides_out only with Linux due to platform dependant result…
antonwolfy Oct 27, 2025
289b35b
Update test_empty to test exactly empty input array
antonwolfy Oct 27, 2025
76d5449
Fix TestFrexp::test_basic to work with unsigned dtype
antonwolfy Oct 27, 2025
51cde78
Peremetrize dtype of the out in TestFrexp::test_out
antonwolfy Oct 27, 2025
b674195
Align signature of rendered docuemntation for dpnp.frexp
antonwolfy Oct 28, 2025
d30af9b
Add description of out keyword
antonwolfy Oct 28, 2025
98877b0
Fix a typo in the docstring
antonwolfy Nov 6, 2025
b931502
Fix a typo in the license header of few source files
antonwolfy Nov 6, 2025
c7bb8d2
Add missing include of algorithm header for files used std::min()
antonwolfy Nov 6, 2025
94dfcfe
Add missing pragma once to the header files
antonwolfy Nov 6, 2025
85530e7
Remove usused include
antonwolfy Nov 6, 2025
9a707ac
Add test_out1_overlap
antonwolfy Nov 6, 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 @@ -19,6 +19,7 @@ Also, that release drops support for Python 3.9, making Python 3.10 the minimum
* Added implementation of `dpnp.scipy.special.erfinv` and `dpnp.scipy.special.erfcinv` [#2624](https://github.com/IntelPython/dpnp/pull/2624)
* Enabled support of Python 3.14 [#2631](https://github.com/IntelPython/dpnp/pull/2631)
* Added implementation of `dpnp.ndarray.tolist` method [#2652](https://github.com/IntelPython/dpnp/pull/2652)
* 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
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@
// THE POSSIBILITY OF SUCH DAMAGE.
//*****************************************************************************

#pragma once

#include <algorithm>

#include "ext/common.hpp"
#include "utils/type_dispatch.hpp"
#include <pybind11/pybind11.h>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@
// THE POSSIBILITY OF SUCH DAMAGE.
//*****************************************************************************

#pragma once

#include <pybind11/numpy.h>
#include <pybind11/pybind11.h>

Expand Down
Loading
Loading