File tree Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Expand file tree Collapse file tree 1 file changed +26
-2
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3- ### 2.0.1 (2024-07-01)
43
5- ## Minor Changes
4+ ## 2.1 (2024-10-18)
5+
6+ ## Major Changes
7+
8+ - The default version of the array API standard is now 2023.12. 2022.12 can
9+ still be enabled via the [ flags API] ( array-api-strict-flags ) .
10+
11+ - Added support for multiple fake "devices", so that code testing against
12+ array-api-strict can check for proper device support. Currently there are
13+ three "devices", the "CPU" device, which is the default devices, and two
14+ pseudo "device" objects. This set of devices can be accessed with
15+ ` array_api_strict.__array_namespace_info__().devices() ` (requires the array
16+ API version to be set to 2023.12), and via the other array API APIs that
17+ return devices (like ` x.device ` ). These devices do not correspond to any
18+ actual hardware and only exist for testing array API device semantics; for
19+ instance, implicitly combining arrays on different devices results in an
20+ exception. (Thanks to [ @betatim ] ( https://github.com/betatim ) ).
21+
22+ ### Minor Changes
23+
24+ - Avoid implicitly relying on ` __array__ ` in some places. These changes should
25+ not be usef visible.
26+
27+ ## 2.0.1 (2024-07-01)
28+
29+ ### Minor Changes
630
731- Re-allow iteration on 1-D arrays. A change from 2.0 fixed iter() raising on
832 n-D arrays but also made 1-D arrays raise. The standard does not explicitly
You can’t perform that action at this time.
0 commit comments