-
Notifications
You must be signed in to change notification settings - Fork 906
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 replace algorithms #8483
Correct unused parameter warnings in replace algorithms #8483
Conversation
Codecov Report
@@ Coverage Diff @@
## branch-21.08 #8483 +/- ##
===============================================
Coverage ? 82.85%
===============================================
Files ? 109
Lines ? 17926
Branches ? 0
===============================================
Hits ? 14853
Misses ? 3073
Partials ? 0 Continue to review full report at Codecov.
|
@gpucibot merge |
@@ -367,7 +366,7 @@ std::unique_ptr<cudf::column> replace_nulls_scalar_kernel_forwarder::operator()< | |||
std::unique_ptr<cudf::column> replace_nulls_policy_impl(cudf::column_view const& input, | |||
cudf::replace_policy const& replace_policy, | |||
rmm::cuda_stream_view stream, | |||
rmm::mr::device_memory_resource* mr) | |||
rmm::mr::device_memory_resource*) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is a bug. we should be using the provided mr to allocate the return value.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yea, it should be propagated down to the cudf::detail::gather
call. I will open a PR that fixes this issue
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Starting in CUDA 11.3, nvcc will start to unconditionally warn about unused parameters on functions/methods that are in anonymous namespaces.