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

Add missing documentation in cudf/types.hpp #10895

Merged
merged 2 commits into from
May 24, 2022

Conversation

karthikeyann
Copy link
Contributor

@karthikeyann karthikeyann commented May 19, 2022

Fixes parts of #9373
added missing documentation in types.hpp to fix doxygen warnings
fixes 30 warnings

@karthikeyann karthikeyann added 3 - Ready for Review Ready for review by team doc Documentation libcudf Affects libcudf (C++/CUDA) code. 4 - Needs Review Waiting for reviewer to review or respond non-breaking Non-breaking change labels May 19, 2022
@karthikeyann karthikeyann requested a review from a team as a code owner May 19, 2022 11:25
@karthikeyann karthikeyann self-assigned this May 19, 2022
@karthikeyann karthikeyann requested review from vyasr and davidwendt May 19, 2022 11:25
cpp/include/cudf/types.hpp Outdated Show resolved Hide resolved
Comment on lines 41 to 48
/// @cond FORWARD_DECLARATIONS
namespace rmm {
class device_buffer;
namespace mr {
class device_memory_resource;
device_memory_resource* get_current_device_resource();
} // namespace mr
/// @endcond
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Using @cond to skip this forward declarations by doxygen.

Copy link
Contributor

Choose a reason for hiding this comment

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

Cool trick.

Copy link
Contributor

Choose a reason for hiding this comment

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

This is interesting. When and how would we actually enable FORWARD_DECLARATIONS?

Copy link
Contributor

Choose a reason for hiding this comment

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

I would think we would never enable it -- so doxygen skips this part -- if I'm understanding this.
https://www.doxygen.nl/manual/commands.html#cmdcond
It appears the label is optional so we could remove if that is less confusing.

@codecov
Copy link

codecov bot commented May 19, 2022

Codecov Report

Merging #10895 (7b45716) into branch-22.06 (54789ee) will increase coverage by 0.02%.
The diff coverage is n/a.

@@               Coverage Diff                @@
##           branch-22.06   #10895      +/-   ##
================================================
+ Coverage         86.30%   86.32%   +0.02%     
================================================
  Files               144      144              
  Lines             22665    22668       +3     
================================================
+ Hits              19560    19569       +9     
+ Misses             3105     3099       -6     
Impacted Files Coverage Δ
python/cudf/cudf/utils/ioutils.py 79.47% <0.00%> (-0.13%) ⬇️
python/cudf/cudf/io/json.py 97.56% <0.00%> (ø)
python/cudf/cudf/core/dataframe.py 93.78% <0.00%> (+0.04%) ⬆️
python/cudf/cudf/core/column/string.py 88.78% <0.00%> (+0.12%) ⬆️
python/cudf/cudf/core/groupby/groupby.py 91.79% <0.00%> (+0.22%) ⬆️
python/cudf/cudf/core/column/numerical.py 96.17% <0.00%> (+0.29%) ⬆️
python/cudf/cudf/core/tools/datetimes.py 84.49% <0.00%> (+0.30%) ⬆️
python/cudf/cudf/core/column/lists.py 91.70% <0.00%> (+0.97%) ⬆️

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 54789ee...7b45716. Read the comment docs.

Copy link
Contributor

@vyasr vyasr left a comment

Choose a reason for hiding this comment

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

LGTM

Comment on lines 41 to 48
/// @cond FORWARD_DECLARATIONS
namespace rmm {
class device_buffer;
namespace mr {
class device_memory_resource;
device_memory_resource* get_current_device_resource();
} // namespace mr
/// @endcond
Copy link
Contributor

Choose a reason for hiding this comment

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

This is interesting. When and how would we actually enable FORWARD_DECLARATIONS?

@karthikeyann karthikeyann requested a review from davidwendt May 21, 2022 15:00
@karthikeyann
Copy link
Contributor Author

rerun tests

@karthikeyann
Copy link
Contributor Author

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 29f0b5a into rapidsai:branch-22.06 May 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review Ready for review by team 4 - Needs Review Waiting for reviewer to review or respond doc Documentation libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants