Skip to content

Commit 8cf06c6

Browse files
Merge pull request #909 from IntelPython/fix-compiler-warning
Fixed compiler warnings about ununsed arguments
2 parents 1e70439 + e92975e commit 8cf06c6

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

dpctl/tensor/libtensor/source/tensor_py.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -481,8 +481,6 @@ void simplify_iteration_space(int &nd,
481481

482482
sycl::event _populate_packed_shape_strides_for_copycast_kernel(
483483
sycl::queue exec_q,
484-
int src_flags,
485-
int dst_flags,
486484
py::ssize_t *device_shape_strides, // to be populated
487485
const std::vector<py::ssize_t> &common_shape,
488486
const std::vector<py::ssize_t> &src_strides,
@@ -719,8 +717,8 @@ copy_usm_ndarray_into_usm_ndarray(dpctl::tensor::usm_ndarray src,
719717

720718
sycl::event copy_shape_ev =
721719
_populate_packed_shape_strides_for_copycast_kernel(
722-
exec_q, src_flags, dst_flags, shape_strides, simplified_shape,
723-
simplified_src_strides, simplified_dst_strides);
720+
exec_q, shape_strides, simplified_shape, simplified_src_strides,
721+
simplified_dst_strides);
724722

725723
sycl::event copy_and_cast_generic_ev = copy_and_cast_fn(
726724
exec_q, src_nelems, nd, shape_strides, src_data, src_offset, dst_data,

0 commit comments

Comments
 (0)