You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor dpnp includes and add extension example (#2941)
This PR proposes a refactor of dpnp's includes and the introduction of
an example extension, to be tested to make sure examples using dpnp and
dpnp.tensor can be written.
The `usm_ndarray_constants.h` header and `dpnp4pybind11.hpp` are moved
to `dpnp/include`, removing a relative include and aligning with
previous dpctl behavior.
Also introduces dpnp-config.cmake, which enables `find_package(Dpnp)`
out of the box, which is installed with dpnp, and `--cmakedir` command
line option, which leads to the CMake config.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,6 +13,7 @@ This release is compatible with NumPy 2.5.
13
13
* Added C API functions for `dpnp.tensor.usm_ndarray` setters and getters to avoid ABI breakage if `dpnp.tensor.usm_ndarray` is modified [#2866](https://github.com/IntelPython/dpnp/pull/2866)
14
14
* Added support for buffer protocol objects as advanced index keys in `dpnp.ndarray`[#2889](https://github.com/IntelPython/dpnp/pull/2889)
15
15
* Added `--includes` and `--include-dir` options to the `dpnp` CLI [#2916](https://github.com/IntelPython/dpnp/pull/2916)
16
+
* Added `dpnp-config.cmake` to make `find_package(Dpnp)` work out of the box, and an example which uses it [#2941](https://github.com/IntelPython/dpnp/pull/2941)
0 commit comments