diff --git a/cpp/src/rolling/detail/range_utils.cuh b/cpp/src/rolling/detail/range_utils.cuh index 8134f2f76f5..c21f8b949fc 100644 --- a/cpp/src/rolling/detail/range_utils.cuh +++ b/cpp/src/rolling/detail/range_utils.cuh @@ -449,6 +449,13 @@ struct range_window_clamper { */ template struct distance_kernel { + distance_kernel(Grouping groups, + DeltaT const* row_delta, + column_device_view::const_iterator begin, + column_device_view::const_iterator end) + : groups{groups}, row_delta{row_delta}, begin{begin}, end{end} + { + } Grouping groups; ///< Group information to determine bounds on current row's window static_assert(cuda::std::is_same_v || cuda::std::is_same_v || @@ -610,14 +617,6 @@ struct range_window_clamper { } }; - // Deduction guide - template - distance_kernel(Grouping, - DeltaT const*, - column_device_view::const_iterator, - column_device_view::const_iterator) - -> distance_kernel; - /** * @brief Compute the window bounds (possibly grouped) for an orderby column. *