From fef4ac5066b0c0db1cf776c3a396cb62e2d688a8 Mon Sep 17 00:00:00 2001 From: Mark Harris Date: Thu, 16 Sep 2021 09:07:59 +1000 Subject: [PATCH] Remove unnecessary call to device_uvector::release() --- cpp/include/cudf/lists/detail/gather.cuh | 5 ----- 1 file changed, 5 deletions(-) diff --git a/cpp/include/cudf/lists/detail/gather.cuh b/cpp/include/cudf/lists/detail/gather.cuh index 256e4e87a08..d62b54208d5 100644 --- a/cpp/include/cudf/lists/detail/gather.cuh +++ b/cpp/include/cudf/lists/detail/gather.cuh @@ -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(dst_offsets_c->view(), output_count, stream);