From ec746cf64d408e652a3154c4206a603f0e2ad668 Mon Sep 17 00:00:00 2001 From: Karthikeyan <6488848+karthikeyann@users.noreply.github.com> Date: Mon, 13 Mar 2023 22:49:25 +0530 Subject: [PATCH] Use get_current_device_resource for intermediate allocations in COLLECT_LIST window code (#12927) Updated code to use defaulted argument get_current_device_resource() for intermediate allocations in COLLECT_LIST window code one-line fix. Fixes https://github.com/rapidsai/cudf/issues/8219 Authors: - Karthikeyan (https://github.com/karthikeyann) Approvers: - David Wendt (https://github.com/davidwendt) - Nghia Truong (https://github.com/ttnghia) - MithunR (https://github.com/mythrocks) URL: https://github.com/rapidsai/cudf/pull/12927 --- cpp/src/rolling/detail/rolling_collect_list.cuh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cpp/src/rolling/detail/rolling_collect_list.cuh b/cpp/src/rolling/detail/rolling_collect_list.cuh index 7ccf4f0b034..39d15ed716f 100644 --- a/cpp/src/rolling/detail/rolling_collect_list.cuh +++ b/cpp/src/rolling/detail/rolling_collect_list.cuh @@ -53,8 +53,7 @@ std::unique_ptr create_collect_offsets(size_type input_size, { // Materialize offsets column. auto static constexpr size_data_type = data_type{type_to_id()}; - auto sizes = - make_fixed_width_column(size_data_type, input_size, mask_state::UNALLOCATED, stream, mr); + auto sizes = make_fixed_width_column(size_data_type, input_size, mask_state::UNALLOCATED, stream); auto mutable_sizes = sizes->mutable_view(); // Consider the following preceding/following values: