From f28e4062f602f326e8cadfe4e6c34c5d4dfa4cce Mon Sep 17 00:00:00 2001 From: Alessandro Bellina Date: Thu, 18 May 2023 18:50:04 -0500 Subject: [PATCH] Fix unused argument errors in nvcc 11.5 --- 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(