Skip to content

Fixed compiler warnings about ununsed arguments #909

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 13, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions dpctl/tensor/libtensor/source/tensor_py.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<py::ssize_t> &common_shape,
const std::vector<py::ssize_t> &src_strides,
Expand Down Expand Up @@ -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,
Expand Down