From 72c067726ccfb6e87033d34ab07b4dc79b5e4a3e Mon Sep 17 00:00:00 2001 From: Alessandro Bellina Date: Thu, 18 May 2023 20:59:38 -0500 Subject: [PATCH] Fix unused argument errors in nvcc 11.5 (#13387) This PR introduced some unused arguments that are causing compilation errors in nvcc 11.5 https://github.com/rapidsai/cudf/issues/13180. Taking care of that here. @davidwendt found these in his local nvcc 11.5 build Authors: - Alessandro Bellina (https://github.com/abellina) Approvers: - David Wendt (https://github.com/davidwendt) - Nghia Truong (https://github.com/ttnghia) - Bradley Dice (https://github.com/bdice) URL: https://github.com/rapidsai/cudf/pull/13387 --- cpp/src/copying/contiguous_split.cu | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/cpp/src/copying/contiguous_split.cu b/cpp/src/copying/contiguous_split.cu index 2b885650526..e52f0c5cd3a 100644 --- a/cpp/src/copying/contiguous_split.cu +++ b/cpp/src/copying/contiguous_split.cu @@ -1012,10 +1012,7 @@ struct packed_split_indices_and_src_buf_info { // packed block of memory 2: partition buffer sizes and dst_buf_info structs struct packed_partition_buf_size_and_dst_buf_info { - packed_partition_buf_size_and_dst_buf_info(cudf::table_view const& input, - std::vector const& splits, - std::size_t num_partitions, - cudf::size_type num_src_bufs, + packed_partition_buf_size_and_dst_buf_info(std::size_t num_partitions, std::size_t num_bufs, rmm::cuda_stream_view stream, rmm::mr::device_memory_resource* temp_mr) @@ -1171,10 +1168,9 @@ std::unique_ptr compute_splits( { auto partition_buf_size_and_dst_buf_info = std::make_unique( - input, splits, num_partitions, num_src_bufs, num_bufs, stream, temp_mr); + num_partitions, num_bufs, stream, temp_mr); auto const d_dst_buf_info = partition_buf_size_and_dst_buf_info->d_dst_buf_info; - auto const h_buf_sizes = partition_buf_size_and_dst_buf_info->h_buf_sizes; auto const d_buf_sizes = partition_buf_size_and_dst_buf_info->d_buf_sizes; auto const split_indices_and_src_buf_info = packed_split_indices_and_src_buf_info(