Correct unused parameters in the copying algorithms - #8232
Conversation
Codecov Report
@@ Coverage Diff @@
## branch-0.20 #8232 +/- ##
=============================================
Coverage 82.88% 82.89%
=============================================
Files 103 105 +2
Lines 17668 17938 +270
=============================================
+ Hits 14645 14870 +225
- Misses 3023 3068 +45
Continue to review full report at Codecov.
|
|
does this change affect compile time noticeably? |
I checked just
Overall I would say no major change in compile time. |
harrism
left a comment
There was a problem hiding this comment.
Looks fine, although [[maybe_unused]] may be a bit cleaner than (void)parameter;.
|
@gpucibot merge |
PR #8232 removed the `num_partitions` parameter from the `copy_partition` kernel but failed to update the associated documentation. Authors: - Robert Maynard (https://github.com/robertmaynard) Approvers: - Karthikeyan (https://github.com/karthikeyann) - David Wendt (https://github.com/davidwendt) URL: #8283
Starting in CUDA 11.3, nvcc will start to unconditionally warn about unused parameters on functions/methods that are in anonymous namespaces.