From e92975e5da24487ad8f2a1d63534e4b863226022 Mon Sep 17 00:00:00 2001 From: Oleksandr Pavlyk Date: Mon, 12 Sep 2022 19:45:14 -0500 Subject: [PATCH] Fixed compiler warnings about ununsed arguments --- dpctl/tensor/libtensor/source/tensor_py.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/dpctl/tensor/libtensor/source/tensor_py.cpp b/dpctl/tensor/libtensor/source/tensor_py.cpp index 2f0c4e2770..cceb98c551 100644 --- a/dpctl/tensor/libtensor/source/tensor_py.cpp +++ b/dpctl/tensor/libtensor/source/tensor_py.cpp @@ -481,8 +481,6 @@ void simplify_iteration_space(int &nd, sycl::event _populate_packed_shape_strides_for_copycast_kernel( sycl::queue exec_q, - int src_flags, - int dst_flags, py::ssize_t *device_shape_strides, // to be populated const std::vector &common_shape, const std::vector &src_strides, @@ -719,8 +717,8 @@ copy_usm_ndarray_into_usm_ndarray(dpctl::tensor::usm_ndarray src, sycl::event copy_shape_ev = _populate_packed_shape_strides_for_copycast_kernel( - exec_q, src_flags, dst_flags, shape_strides, simplified_shape, - simplified_src_strides, simplified_dst_strides); + exec_q, shape_strides, simplified_shape, simplified_src_strides, + simplified_dst_strides); sycl::event copy_and_cast_generic_ev = copy_and_cast_fn( exec_q, src_nelems, nd, shape_strides, src_data, src_offset, dst_data,