-
Notifications
You must be signed in to change notification settings - Fork 902
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] cleanup template code of cpp/src/rolling/rolling.cu #5466
Comments
This issue has been labeled |
This issue has been labeled |
This looks almost complete to me, with the exception of some test cleanup left over from #8158.
#8158 moved
#8158 moved
The
|
closes #5466 Authors: - Karthikeyan (https://github.com/karthikeyann) Approvers: - Yunsong Wang (https://github.com/PointKernel) - Nghia Truong (https://github.com/ttnghia) - MithunR (https://github.com/mythrocks) URL: #11195
clean up template code of https://github.com/rapidsai/cudf/blob/branch-0.15/cpp/src/rolling/rolling.cu
and respective unit test codes
https://github.com/rapidsai/cudf/blob/branch-0.15/cpp/tests/rolling/rolling_test.cpp
https://github.com/rapidsai/cudf/blob/branch-0.15/cpp/tests/grouped_rolling/grouped_rolling_test.cpp
(cudf::is_numeric<ColumnType>() or is_comparable_countable_op)
this will always be true inside theif (cudf::is_numeric<ColumnType>())
condition.is_comparable_countable_op
is already covered by(op == aggregation::MIN) or (op == aggregation::MAX) or (op == aggregation::COUNT_VALID) or (op == aggregation::COUNT_ALL)
aggregation::Kind
till last level template functionis_mean
can be eliminated inrolling_store_output_functor
, The logic for this can be inferred from the other parameters. (check [REVIEW] disallow SUM and MEAN of timestamp types #5319)launch<T>
,kernel_launcher<T>
could shareInputType
tparam.CUDF_FAIL
should come beforeoutput
column creation in string specializationcpp/src/rolling/rolling.cu
The text was updated successfully, but these errors were encountered: