Skip to content

Commit

Permalink
Remove unnecessary call to device_uvector::release()
Browse files Browse the repository at this point in the history
  • Loading branch information
harrism committed Sep 15, 2021
1 parent 015f15c commit fef4ac5
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions cpp/include/cudf/lists/detail/gather.cuh
Original file line number Diff line number Diff line change
Expand Up @@ -117,11 +117,6 @@ gather_data make_gather_data(cudf::lists_column_view const& source_column,
return src_offsets[index] - shift;
});

// now that we are done using the gather_map, we can release the underlying prev_base_offsets.
// doing this prevents this (potentially large) memory buffer from sitting around unused as the
// recursion continues.
prev_base_offsets.release();

// Retrieve size of the resulting gather map for level N+1 (the last offset)
size_type child_gather_map_size =
cudf::detail::get_value<size_type>(dst_offsets_c->view(), output_count, stream);
Expand Down

0 comments on commit fef4ac5

Please sign in to comment.