-
Notifications
You must be signed in to change notification settings - Fork 908
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
Convert unordered_multiset to use device_uvector #8091
Convert unordered_multiset to use device_uvector #8091
Conversation
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.
Everything else is fine.
|
||
BENCHMARK_DEFINE_F(Search, ColumnContains_AllValid)(::benchmark::State& state) | ||
{ | ||
BM_column(state, false); |
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.
Did you mean BM_contains
?
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.
Hah, perhaps I'm not benchmarking what I intended to!
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.
Fixed. Now that I'm benchmarking the right thing, performance is dramatically improved!
Codecov Report
@@ Coverage Diff @@
## branch-0.20 #8091 +/- ##
===============================================
- Coverage 82.88% 82.87% -0.02%
===============================================
Files 103 103
Lines 17668 17835 +167
===============================================
+ Hits 14645 14781 +136
- Misses 3023 3054 +31
Continue to review full report at Codecov.
|
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.
Happy to hear performance improved. Looks good to me.
@gpucibot merge |
Converts
unordered_multiset
to use device_uvector instead of device_vector. Also adds a cudf::contains benchmark to SEARCH_BENCHMARK.Contributes to #7287
Performance of
cudf::contains
, the only user of this class, is significantly improved: