Skip to content

Commit

Permalink
Add const
Browse files Browse the repository at this point in the history
Signed-off-by: Nghia Truong <[email protected]>
  • Loading branch information
ttnghia committed Dec 19, 2024
1 parent 7e16440 commit 5131fd0
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions cpp/tests/groupby/host_udf_example_tests.cu
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,11 @@ struct host_udf_groupby_example : cudf::host_udf_base {
input.at(cudf::make_sum_aggregation<cudf::groupby_aggregation>()));

auto const values_dv_ptr = cudf::column_device_view::create(values, stream);
auto output = cudf::make_numeric_column(cudf::data_type{cudf::type_to_id<OutputType>()},
num_groups,
cudf::mask_state::UNALLOCATED,
stream,
mr);
auto const output = cudf::make_numeric_column(cudf::data_type{cudf::type_to_id<OutputType>()},
num_groups,
cudf::mask_state::UNALLOCATED,
stream,
mr);

// Store row index if it is valid, otherwise store a negative value denoting a null row.
rmm::device_uvector<cudf::size_type> valid_idx(num_groups, stream);
Expand Down

0 comments on commit 5131fd0

Please sign in to comment.