Skip to content

Commit 007acf9

Browse files
authored
Merge branch 'master' into use-windows-latest
2 parents d9f4477 + 667fe3e commit 007acf9

File tree

3 files changed

+14
-4
lines changed

3 files changed

+14
-4
lines changed

CHANGELOG.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,16 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7-
## [0.18.0] - 05/DD/2025
7+
## [0.19.0] - MM/DD/2025
8+
9+
### Added
10+
11+
### Changed
12+
13+
### Fixed
14+
15+
16+
## [0.18.0] - 06/DD/2025
817

918
This release achieves 100% compliance with Python Array API specification (revision [2024.12](https://data-apis.org/array-api/2024.12/)).
1019
The release provides enhanced compatibility with NumPy 2.2.5. Window and mathematical routines are complemented by a set of new functions.
@@ -52,6 +61,7 @@ Moreover, it adds support to build `dpnp` from the source for AMD GPUs.
5261
* Added handling of empty string passed to a test env variable defining data type scope as a `False` value [#2415](https://github.com/IntelPython/dpnp/pull/2415)
5362
* Resolved build issues on non-Intel targets in `dpnp.i0` and `dpnp.kaiser` [#2439](https://github.com/IntelPython/dpnp/pull/2439)
5463
* Ensure consistency in the `dpnp.linalg.LinAlgError` exception raised on singular input matrices for both non-batched and batched cases in `dpnp.linalg.inv` [#2458] (https://github.com/IntelPython/dpnp/pull/2458)
64+
* Updated test f/w to correct a check of array interface while converting to `numpy.ndarray` for comparison [#2467] (https://github.com/IntelPython/dpnp/pull/2467)
5565

5666

5767
## [0.17.0] - 02/26/2025

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
cmake_minimum_required(VERSION 3.21...3.27 FATAL_ERROR)
22

33
project(dpnp
4-
VERSION 0.18
4+
VERSION 0.19
55
LANGUAGES CXX
66
DESCRIPTION "NumPy-like API accelerated by SYCL."
77
)

dpnp/dpnp_utils/dpnp_algo_utils.pyx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ cdef ERROR_PREFIX = "DPNP error:"
7676

7777

7878
def convert_item(item):
79-
if getattr(item, "__sycl_usm_array_interface__", False):
79+
if hasattr(item, "__sycl_usm_array_interface__"):
8080
item_converted = dpnp.asnumpy(item)
81-
elif getattr(item, "__array_interface__", False): # detect if it is a container (TODO any better way?)
81+
elif hasattr(item, "__array_interface__"): # detect if it is a container (TODO any better way?)
8282
mod_name = getattr(item, "__module__", 'none')
8383
if (mod_name != 'numpy'):
8484
item_converted = dpnp.asnumpy(item)

0 commit comments

Comments
 (0)