Improve distinct by using cuco::static_map::retrieve_all - #10916
Conversation
|
rerun tests |
distinct: pass stream to map::containsdistinct by using cuco::static_map::retrieve_all
|
Seeing performance regression when using
Will look into profiling tomorrow. |
Did you get these numbers by pulling the same |
Codecov Report
@@ Coverage Diff @@
## branch-22.08 #10916 +/- ##
===============================================
Coverage ? 86.32%
===============================================
Files ? 144
Lines ? 22668
Branches ? 0
===============================================
Hits ? 19569
Misses ? 3099
Partials ? 0 Continue to review full report at Codecov.
|
Agreed.
|
Doubtful. I don't see why there would be an increased register usage problem in this situation. The problem from #10511 was that we were using a For |
|
Updates: the performance regression comes from a bug in the current |
|
Merging this PR since the performance regression issue will be resolved after merging #10983 |
|
@gpucibot merge |
Closes #10909
This PR was intended to fix a bug in the
distinctimplementation where the stream parameter was not passed when invokingstatic_map::contains. During the work, @ttnghia Pointed out that thecontains+thrust::copy_iflogic can be simplified by usingstatic_map::retrieve_all. Finally, the PR fetches a newer version ofcucoto utilizeretrieve_alland fixes a bug in unit tests where results should be sorted before comparison.