Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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 @@ -124,6 +124,7 @@ This release is compatible with NumPy 2.5.
* Fixed `dpnp.repeat` and `dpnp.tensor.repeat` silently returning wrong results for `uint64` repeats above the `int64` maximum [#3115](https://github.com/IntelPython/dpnp/pull/3115)
* Fixed importing `dpnp.scipy.sparse` re-enabling the GIL on free-threaded Python builds, because its pybind11 extension did not declare free-threading support [#3101](https://github.com/IntelPython/dpnp/pull/3101)
* Fixed the CuPy-based `dpnp.scipy` tests under `dpnp/tests/third_party/cupyx/scipy_tests/` missing from the `dpnp` package, so they never ran against an installed package [#3102](https://github.com/IntelPython/dpnp/pull/3102)
* Fixed a `RuntimeError` raised by kernels of the `blas`, `statistics`, `ufunc` and `window` extensions and of the legacy backend launched over more than `INT_MAX` work-items when built with DPC++ compiler 2026.2 or newer [#3104](https://github.com/IntelPython/dpnp/pull/3104)

### Security

Expand Down
6 changes: 5 additions & 1 deletion dpnp/backend/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,11 @@ endif()
# target_compile_definitions(${_trgt} PRIVATE _WIN=1)
# endif()

target_link_options(${_trgt} PUBLIC -fsycl-device-code-split=per_kernel)
target_compile_options(${_trgt} PUBLIC -fno-sycl-id-queries-fit-in-int)
target_link_options(
${_trgt}
PUBLIC -fsycl-device-code-split=per_kernel -fno-sycl-id-queries-fit-in-int
)

if(DPNP_GENERATE_COVERAGE)
target_link_options(${_trgt} PRIVATE -fprofile-instr-generate -fcoverage-mapping)
Expand Down
6 changes: 5 additions & 1 deletion dpnp/backend/extensions/blas/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,11 @@ else()
)
endif()

target_link_options(${python_module_name} PUBLIC -fsycl-device-code-split=per_kernel)
target_compile_options(${python_module_name} PUBLIC -fno-sycl-id-queries-fit-in-int)
target_link_options(
${python_module_name}
PUBLIC -fsycl-device-code-split=per_kernel -fno-sycl-id-queries-fit-in-int
)

if(DPNP_GENERATE_COVERAGE)
target_link_options(
Expand Down
6 changes: 5 additions & 1 deletion dpnp/backend/extensions/statistics/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,11 @@ else()
)
endif()

target_link_options(${python_module_name} PUBLIC -fsycl-device-code-split=per_kernel)
target_compile_options(${python_module_name} PUBLIC -fno-sycl-id-queries-fit-in-int)
target_link_options(
${python_module_name}
PUBLIC -fsycl-device-code-split=per_kernel -fno-sycl-id-queries-fit-in-int
Comment thread
antonwolfy marked this conversation as resolved.
)

if(DPNP_GENERATE_COVERAGE)
target_link_options(
Expand Down
6 changes: 5 additions & 1 deletion dpnp/backend/extensions/ufunc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,11 @@ else()
)
endif()

target_link_options(${python_module_name} PUBLIC -fsycl-device-code-split=per_kernel)
target_compile_options(${python_module_name} PUBLIC -fno-sycl-id-queries-fit-in-int)
target_link_options(
${python_module_name}
PUBLIC -fsycl-device-code-split=per_kernel -fno-sycl-id-queries-fit-in-int
)

if(DPNP_GENERATE_COVERAGE)
target_link_options(
Expand Down
6 changes: 5 additions & 1 deletion dpnp/backend/extensions/window/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,11 @@ else()
)
endif()

target_link_options(${python_module_name} PUBLIC -fsycl-device-code-split=per_kernel)
target_compile_options(${python_module_name} PUBLIC -fno-sycl-id-queries-fit-in-int)
target_link_options(
${python_module_name}
PUBLIC -fsycl-device-code-split=per_kernel -fno-sycl-id-queries-fit-in-int
)

if(DPNP_GENERATE_COVERAGE)
target_link_options(
Expand Down
Loading