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.
1 parent 5ffcf86 commit 315b9aaCopy full SHA for 315b9aa
dpctl/tests/test_usm_ndarray_ctor.py
@@ -55,6 +55,7 @@ def test_allocate_usm_ndarray(shape, usm_type):
55
assert X.sycl_device == q.sycl_device
56
assert X.size == Xnp.size
57
assert X.shape == Xnp.shape
58
+ assert X.shape == X.__sycl_usm_array_interface__["shape"]
59
60
61
@pytest.mark.parametrize(
0 commit comments