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

Correct unused parameter warnings in transform and unary ops #8521

Conversation

robertmaynard
Copy link
Contributor

Starting in CUDA 11.3, nvcc will start to unconditionally warn about unused parameters on functions/methods that are in anonymous namespaces.

This corrects issues found by this warning in transform and unary op algorithms

@robertmaynard robertmaynard added libcudf Affects libcudf (C++/CUDA) code. tech debt improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Jun 15, 2021
@robertmaynard robertmaynard requested a review from a team as a code owner June 15, 2021 17:36
Copy link
Contributor

@codereport codereport left a comment

Choose a reason for hiding this comment

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

lgtm

std::enable_if_t<!cudf::is_fixed_width<T>() && !std::is_same<T, string_view>::value &&
!std::is_same<T, list_view>::value && !std::is_same<T, struct_view>::value,
void>
operator()(Args&&...)
Copy link
Contributor

Choose a reason for hiding this comment

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

❤️

@robertmaynard
Copy link
Contributor Author

rerun tests

@codecov
Copy link

codecov bot commented Jun 16, 2021

Codecov Report

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

❗ Current head ee583b0 differs from pull request most recent head c5d7933. Consider uploading reports for the commit c5d7933 to get more accurate results
Impacted file tree graph

@@               Coverage Diff               @@
##             branch-21.08    #8521   +/-   ##
===============================================
  Coverage                ?   82.60%           
===============================================
  Files                   ?      109           
  Lines                   ?    17841           
  Branches                ?        0           
===============================================
  Hits                    ?    14737           
  Misses                  ?     3104           
  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 6728c75...c5d7933. Read the comment docs.

@robertmaynard
Copy link
Contributor Author

@gpucibot merge

@rapids-bot rapids-bot bot merged commit d0a0878 into rapidsai:branch-21.08 Jun 16, 2021
@robertmaynard robertmaynard deleted the bug/correct_unused_parameters_in_transform_and_unary_ops branch June 16, 2021 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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.

2 participants