Repository navigation
Fix compile warning in search.cu - #10827
Merged
rapids-bot[bot] merged 1 commit intoMay 11, 2022
Merged
Conversation
ttnghia
approved these changes
May 11, 2022
ttnghia
left a comment
Contributor
There was a problem hiding this comment.
Oh I'm sorry about this. I saw the warning but ignored it as I thought this is a compiler bug and it will be fixed on the cuda sdk side.
PointKernel
approved these changes
May 11, 2022
Codecov Report
@@ Coverage Diff @@
## branch-22.06 #10827 +/- ##
================================================
- Coverage 86.40% 86.31% -0.10%
================================================
Files 143 144 +1
Lines 22448 22648 +200
================================================
+ Hits 19396 19548 +152
- Misses 3052 3100 +48
Continue to review full report at Codecov.
|
Contributor
Author
|
@gpucibot merge |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Compile warning introduced with merge of PR #10802
Line 108 has a lambda refactoring that seems to confuse the compiler.
The warning is wrong and the compiler generates the correct code so this is likely a compiler bug.
This PR fixes the warning by replacing the lambda with an if statement.