We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ab98697 + 9f28d67 commit 039a2a2Copy full SHA for 039a2a2
dpctl/tensor/_array_api.py
@@ -63,7 +63,7 @@ def _get_device_impl(d):
63
raise TypeError(f"Unsupported type for device argument: {type(d)}")
64
65
66
-__array_api_version__ = "2023.12"
+__array_api_version__ = "2024.12"
67
68
69
class Info:
dpctl/tests/test_usm_ndarray_ctor.py
@@ -1427,6 +1427,8 @@ def test_array_namespace():
1427
X.__array_namespace__()
1428
X._set_namespace(dpt)
1429
assert X.__array_namespace__() is dpt
1430
+ X.__array_namespace__(api_version=dpt.__array_api_version__)
1431
+ assert X.__array_namespace__() is dpt
1432
1433
1434
def test_dlpack():
0 commit comments