Skip to content

Commit

Permalink
Use get_current_device_resource for intermediate allocations in COLLE…
Browse files Browse the repository at this point in the history
…CT_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 #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: #12927
  • Loading branch information
karthikeyann authored Mar 13, 2023
1 parent 7bc4a7e commit ec746cf
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cpp/src/rolling/detail/rolling_collect_list.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,7 @@ std::unique_ptr<column> create_collect_offsets(size_type input_size,
{
// Materialize offsets column.
auto static constexpr size_data_type = data_type{type_to_id<size_type>()};
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:
Expand Down

0 comments on commit ec746cf

Please sign in to comment.