File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
dpctl/tensor/libtensor/source/linalg_functions Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -296,14 +296,14 @@ py_dot(const dpctl::tensor::usm_ndarray &x1,
296
296
const char *x2_data = x2.get_data ();
297
297
char *dst_data = dst.get_data ();
298
298
299
- auto x1_shape_vec = x1.get_shape_vector ();
300
- auto x1_strides_vec = x1.get_strides_vector ();
299
+ const auto & x1_shape_vec = x1.get_shape_vector ();
300
+ const auto & x1_strides_vec = x1.get_strides_vector ();
301
301
302
- auto x2_shape_vec = x2.get_shape_vector ();
303
- auto x2_strides_vec = x2.get_strides_vector ();
302
+ const auto & x2_shape_vec = x2.get_shape_vector ();
303
+ const auto & x2_strides_vec = x2.get_strides_vector ();
304
304
305
- auto dst_shape_vec = dst.get_shape_vector ();
306
- auto dst_strides_vec = dst.get_strides_vector ();
305
+ const auto & dst_shape_vec = dst.get_shape_vector ();
306
+ const auto & dst_strides_vec = dst.get_strides_vector ();
307
307
308
308
bool is_x1_c_contig = x1.is_c_contiguous ();
309
309
bool is_x1_f_contig = x1.is_f_contiguous ();
You can’t perform that action at this time.
0 commit comments