From 956048a34b84d4ae6971ebc883ecf0e5870b86d6 Mon Sep 17 00:00:00 2001 From: David Wendt Date: Wed, 7 Feb 2024 20:14:20 -0500 Subject: [PATCH] Use offsetalator in cudf::interleave_columns() --- cpp/src/reshape/interleave_columns.cu | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cpp/src/reshape/interleave_columns.cu b/cpp/src/reshape/interleave_columns.cu index 22b45fe7a58..6aa322d4d78 100644 --- a/cpp/src/reshape/interleave_columns.cu +++ b/cpp/src/reshape/interleave_columns.cu @@ -17,6 +17,7 @@ #include #include #include +#include #include #include #include @@ -188,9 +189,10 @@ struct interleave_columns_impl(0), offsets_transformer); - auto [offsets_column, bytes] = cudf::detail::make_offsets_child_column( + auto [offsets_column, bytes] = cudf::strings::detail::make_offsets_child_column( offsets_transformer_itr, offsets_transformer_itr + num_strings, stream, mr); - auto d_results_offsets = offsets_column->view().template data(); + auto d_results_offsets = + cudf::detail::offsetalator_factory::make_input_iterator(offsets_column->view()); // Create the chars column rmm::device_uvector chars(bytes, stream, mr);