File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
dpctl/tensor/libtensor/source Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -229,11 +229,11 @@ usm_ndarray_triul(sycl::queue exec_q,
229
229
(*shp_host_shape_and_strides)[3 * nd - 1 ] = dst_strides[src_nd - 1 ];
230
230
231
231
py::ssize_t *dev_shape_and_strides =
232
- sycl::malloc_device<ssize_t >(3 * nd, exec_q);
232
+ sycl::malloc_device<py:: ssize_t >(3 * nd, exec_q);
233
233
if (dev_shape_and_strides == nullptr ) {
234
234
throw std::runtime_error (" Unabled to allocate device memory" );
235
235
}
236
- sycl::event copy_shape_and_strides = exec_q.copy <ssize_t >(
236
+ sycl::event copy_shape_and_strides = exec_q.copy <py:: ssize_t >(
237
237
shp_host_shape_and_strides->data (), dev_shape_and_strides, 3 * nd);
238
238
239
239
py::ssize_t inner_range = src_shape[src_nd - 1 ] * src_shape[src_nd - 2 ];
You can’t perform that action at this time.
0 commit comments