-
Notifications
You must be signed in to change notification settings - Fork 915
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
Remove is_relationally_comparable for table device views #10342
Remove is_relationally_comparable for table device views #10342
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.
I am very confused about why this code needs a stream or run on the device at all.
Codecov Report
@@ Coverage Diff @@
## branch-22.04 #10342 +/- ##
================================================
+ Coverage 86.13% 86.15% +0.01%
================================================
Files 139 139
Lines 22465 22460 -5
================================================
Hits 19351 19351
+ Misses 3114 3109 -5
Continue to review full report at Codecov.
|
@davidwendt just FYI I have avoided reviewing this PR so far because I'm not clear on whether @jrhemstad's question is resolved or whether to expect a real resolution within the scope of this PR, and it seems like a decision there could significantly alter this changeset. Please let me know if you think I should just go ahead and review. |
Thanks @vyasr I welcome all and any reviews at this time. |
That is correct. The check will then be on |
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.
LGTM.
cpp/src/table/table_view.cpp
Outdated
table_view const& rhs); | ||
|
||
// Explicit extern template instantiation for a table of mutable views | ||
extern template bool is_relationally_comparable<mutable_table_view>(mutable_table_view const& lhs, |
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.
extern
should not be used here. As I found https://stackoverflow.com/questions/8130602/using-extern-template-c11):
You should only use extern template to force the compiler to not instantiate a template when you know that it will be instantiated somewhere else. It is used to reduce compile time and object file size.
@gpucibot merge |
Closes #10080
Removes
is_relationally_comparable
function fortable_device_view
andmutable_table_device_view
. The existingis_relationally_comparable
can still be used with non-devicetable_view
andmutable_table_view
.Callers are updated as appropriate. The incorrect kernel call has been removed.