Commit 5ffcf86
committed
Fixes #547
Property `__sycl_usm_array_interface__` is to use `self.shape` rather
than call _make_int_tuple directly.
```
In [4]: dpt.usm_ndarray(tuple(), dtype='d').__sycl_usm_array_interface__
Out[4]:
{'data': (94536841949184, True),
'shape': (),
'strides': None,
'typestr': '|f8',
'version': 1,
'syclobj': <dpctl.SyclQueue at 0x7f5bbeb3f780>,
'offset': 0}
```1 parent 6e0a5bb commit 5ffcf86
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
| 121 | + | |
122 | 122 | | |
123 | 123 | | |
124 | 124 | | |
| |||
304 | 304 | | |
305 | 305 | | |
306 | 306 | | |
307 | | - | |
| 307 | + | |
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
| |||
0 commit comments