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 15d0364 commit 2aab77bCopy full SHA for 2aab77b
dpctl/dptensor/numpy_usm_shared.py
@@ -63,6 +63,7 @@ def _get_usm_base(ary):
63
else:
64
return None
65
66
+
67
class ndarray(np.ndarray):
68
"""
69
numpy.ndarray subclass whose underlying memory buffer is allocated
@@ -167,7 +168,7 @@ def _getter_sycl_usm_array_interface_(self):
167
168
if usm_iface is None:
169
raise TypeError
170
- if ary_iface["data"][0] == usm_iface["data"][0]:
171
+ if ary_iface["data"][0] == usm_iface["data"][0]:
172
ary_iface["version"] = usm_iface["version"]
173
ary_iface["syclobj"] = usm_iface["syclobj"]
174
0 commit comments