Skip to content

Commit 039a2a2

Browse files
authored
Merge pull request #2047 from IntelPython/update-array-api-version-to-2024.12
Update array API spec version supported to 2024.12
2 parents ab98697 + 9f28d67 commit 039a2a2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

dpctl/tensor/_array_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def _get_device_impl(d):
6363
raise TypeError(f"Unsupported type for device argument: {type(d)}")
6464

6565

66-
__array_api_version__ = "2023.12"
66+
__array_api_version__ = "2024.12"
6767

6868

6969
class Info:

dpctl/tests/test_usm_ndarray_ctor.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1427,6 +1427,8 @@ def test_array_namespace():
14271427
X.__array_namespace__()
14281428
X._set_namespace(dpt)
14291429
assert X.__array_namespace__() is dpt
1430+
X.__array_namespace__(api_version=dpt.__array_api_version__)
1431+
assert X.__array_namespace__() is dpt
14301432

14311433

14321434
def test_dlpack():

0 commit comments

Comments
 (0)