diff --git a/cpp/src/groupby/sort/group_tdigest.cu b/cpp/src/groupby/sort/group_tdigest.cu index 5b4252a9063..115048aef5d 100644 --- a/cpp/src/groupby/sort/group_tdigest.cu +++ b/cpp/src/groupby/sort/group_tdigest.cu @@ -299,6 +299,8 @@ __global__ void generate_cluster_limits_kernel(int delta_, nearest_w_index = last_inserted_index + 1; auto [r, i, adjusted] = cumulative_weight(nearest_w_index); adjusted_next_limit = max(next_limit, adjusted); + (void)r; + (void)i; } cluster_wl[group_num_clusters[group_index]] = adjusted_next_limit; last_inserted_index = nearest_w_index; @@ -469,6 +471,7 @@ std::unique_ptr compute_tdigests(int delta, group_cumulative_weight] __device__(size_type value_index) -> size_type { auto [group_index, relative_value_index, cumulative_weight] = group_cumulative_weight(value_index); + (void)relative_value_index; // compute start of cluster weight limits for this group double const* weight_limits = group_cluster_wl + group_cluster_offsets[group_index]; @@ -601,15 +604,9 @@ struct typed_group_tdigest { template < typename T, + typename... Args, typename std::enable_if_t() && !cudf::is_fixed_point()>* = nullptr> - std::unique_ptr operator()(column_view const& col, - cudf::device_span group_offsets, - cudf::device_span group_labels, - cudf::device_span group_valid_counts, - size_type num_groups, - int delta, - rmm::cuda_stream_view stream, - rmm::mr::device_memory_resource* mr) + std::unique_ptr operator()(Args&&...) { CUDF_FAIL("Non-numeric type in group_tdigest"); } diff --git a/cpp/src/lists/drop_list_duplicates.cu b/cpp/src/lists/drop_list_duplicates.cu index e53ae4ff0c1..cbcb5d6bb1a 100644 --- a/cpp/src/lists/drop_list_duplicates.cu +++ b/cpp/src/lists/drop_list_duplicates.cu @@ -376,10 +376,10 @@ struct column_row_comparator_dispatch { } template ()>* = nullptr> - bool operator()(size_type i, size_type j) const + bool operator()(size_type, size_type) const { CUDF_FAIL( - "`column_row_comparator_dispatch` cannot operate on types that are not equally comparable."); + "column_row_comparator_dispatch cannot operate on types that are not equally comparable."); } };