Skip to content
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

Namespace/Docstring Fixes for Reduction #10471

Merged

Conversation

isVoid
Copy link
Contributor

@isVoid isVoid commented Mar 21, 2022

This PR adds detail namespace for for simple/compound ops for reduction to make code more consistent with segmented reduction. It also includes minor docstring fixes.

cc @bdice

@isVoid isVoid requested a review from a team as a code owner March 21, 2022 19:15
@github-actions github-actions bot added the libcudf Affects libcudf (C++/CUDA) code. label Mar 21, 2022
@bdice bdice added improvement Improvement / enhancement to an existing function breaking Breaking change labels Mar 21, 2022
Copy link
Contributor Author

@isVoid isVoid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Things carried from another PR.

cpp/tests/reductions/segmented_reduction_tests.cpp Outdated Show resolved Hide resolved
@bdice
Copy link
Contributor

bdice commented Mar 21, 2022

This is breaking because it changes namespaces by moving internal code into a detail namespace. I added the breaking label.

Copy link
Contributor

@hyperbolic2346 hyperbolic2346 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -192,6 +192,8 @@ std::unique_ptr<scalar> mean(
*
* @param col input column to compute variance.
* @param output_dtype data type of return type and typecast elements of input column.
* @param ddof Delta degrees of freedom. The divisor used is N - ddof, where N represents the number
* of elements.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@bdice
Copy link
Contributor

bdice commented Mar 24, 2022

rerun tests

@codecov
Copy link

codecov bot commented Mar 24, 2022

Codecov Report

❗ No coverage uploaded for pull request base (branch-22.06@40baeb4). Click here to learn what that means.
The diff coverage is n/a.

@@               Coverage Diff               @@
##             branch-22.06   #10471   +/-   ##
===============================================
  Coverage                ?   86.31%           
===============================================
  Files                   ?      140           
  Lines                   ?    22312           
  Branches                ?        0           
===============================================
  Hits                    ?    19259           
  Misses                  ?     3053           
  Partials                ?        0           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 40baeb4...707ae8e. Read the comment docs.

@isVoid
Copy link
Contributor Author

isVoid commented Mar 24, 2022

@gpucibot merge

@rapids-bot rapids-bot bot merged commit ef34c33 into rapidsai:branch-22.06 Mar 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Breaking change improvement Improvement / enhancement to an existing function libcudf Affects libcudf (C++/CUDA) code.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants