Skip to content

Move rolling impl details to detail/ directory. - #11250

Merged
rapids-bot[bot] merged 3 commits into
NVIDIA:branch-22.08from
mythrocks:rolling-detail-move
Jul 14, 2022
Merged

rapids-bot[bot] merged 3 commits into
NVIDIA:branch-22.08from
mythrocks:rolling-detail-move

Conversation

@mythrocks

Copy link
Copy Markdown
Contributor

Fixes #11211.

The contents of cpp/src/rolling/ are a mix of _detail files that are private to implementation. This includes rolling_detail.hpp, rolling_detail.cuh, and an assortment of aggregation-specific files.
This commit moves these under cpp/src/rolling/detail, thus bringing rolling into compliance with other modules.

Note that there are no changes to functionality. Only the paths of existing source files have been reshuffled.

Fixes NVIDIA#11211.

The contents of `cpp/src/rolling/` are a mix of `_detail` files that are private to implementation. This includes `rolling_detail.hpp`, `rolling_detail.cuh`, and an assortment of aggregation-specific files.
This commit moves these under `cpp/src/rolling/detail`, thus bringing `rolling` into compliance with other modules.
@mythrocks mythrocks added tech debt improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Jul 12, 2022
@mythrocks
mythrocks requested a review from a team as a code owner July 12, 2022 19:15
@mythrocks mythrocks self-assigned this Jul 12, 2022
@mythrocks
mythrocks requested a review from a team as a code owner July 12, 2022 19:15
@mythrocks
mythrocks requested review from bdice and devavret July 12, 2022 19:15
@github-actions github-actions Bot added CMake CMake build issue libcudf Affects libcudf (C++/CUDA) code. labels Jul 12, 2022
@mythrocks
mythrocks requested review from vyasr and removed request for devavret July 12, 2022 19:16
@mythrocks

mythrocks commented Jul 12, 2022 •

Copy link
Copy Markdown
Contributor Author

I have taken @devavret off the hook, and added @vyasr (whose suggestion prompted this change).

@vyasr vyasr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Also, fixed header include guard.
@mythrocks

Copy link
Copy Markdown
Contributor Author

Missed one: https://github.com/rapidsai/cudf/blob/branch-22.08/cpp/src/rolling/jit/kernel.cu#L18. I would also double-check the other JIT rolling files just in case.

Thanks for catching that, @vyasr. I think I've gotten them all now.

@mythrocks
mythrocks requested a review from vyasr July 13, 2022 20:40

@bdice bdice left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Approving because it’s a pure renaming. It might be nice to know if the detail includes in test files are testing detail APIs or only using them for test setup.

@codecov

codecov Bot commented Jul 13, 2022 •

Copy link
Copy Markdown

Codecov Report

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

@@               Coverage Diff               @@
##             branch-22.08   #11250   +/-   ##
===============================================
  Coverage                ?   86.31%           
===============================================
  Files                   ?      144           
  Lines                   ?    22748           
  Branches                ?        0           
===============================================
  Hits                    ?    19636           
  Misses                  ?     3112           
  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 de0f6cc...d3bb0e0. Read the comment docs.

@vyasr

vyasr commented Jul 14, 2022

Copy link
Copy Markdown
Contributor

@gpucibot merge

@mythrocks

Copy link
Copy Markdown
Contributor Author

be nice to know if the detail includes in test files are testing detail APIs or only using them for test setup.

It's being used to construct reference/expected outputs for different tests.

When further functionality was adding in rolling, the suggestion was made that we use explicitly hardcoded reference outputs, rather than to use production code for it. This makes it easier to "follow along". The newer tests do this. rolling_test (and part of grouped_rolling_test) are legacy.

@mythrocks
mythrocks deleted the rolling-detail-move branch July 14, 2022 22:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CMake CMake build issue improvement Improvement / enhancement to an existing function libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Move _detail in rolling/ to rolling/detail

4 participants