-
Notifications
You must be signed in to change notification settings - Fork 916
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
[REVIEW] Adding any
and all
support from libcudf
#3094
[REVIEW] Adding any
and all
support from libcudf
#3094
Conversation
any
and all
support from libcudfany
and all
support from libcudf
Codecov Report
@@ Coverage Diff @@
## branch-0.11 #3094 +/- ##
============================================
Coverage 86.91% 86.91%
============================================
Files 49 49
Lines 9194 9194
============================================
Hits 7991 7991
Misses 1203 1203
Continue to review full report at Codecov.
|
@rgsl888prabhu Please don't add new functionality using the gdf_column / gdf_scalar as we're trying to replace them in 0.11 |
@karthikeyann can you please review since you are looking at porting reductions currently? |
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.
Cython looks great!
#include "simple.cuh" | ||
|
||
gdf_scalar cudf::reduction::any(gdf_column const& col, gdf_dtype const output_dtype, cudaStream_t stream) | ||
{ |
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.
output_dtype
should always be bool type.
@karthikeyann I apologize. I missed @harrism's comment that asked for your review. @harrism I think it's possible to explicitly request reviews via the GitHub UI which would have blocked this PR from being merged. Definitely my fault here as I should have paid more attention, especially after assuming the responsibility of merging. But it could avoid something like this from happening again. |
Perhaps @karthikeyann's additional review comments can be addressed in a follow up PR, @rgsl888prabhu? Sorry for the trouble :( |
@shwina No problem. Porting |
Sounds good. Thanks! |
Thank you @karthikeyann @shwina |
@shwina I did request review using the UI, and it didn't block merging. @karthikeyann can you please file an issue to make sure your comment doesn't get forgotten? |
Adding
any
andall
API support from libcudf. Current approach is similar to the earlier version of usingmin
andmax
.closes #1874