Skip to content
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

Push DeviceScalar construction into Cython for list.contains #7862

Conversation

brandon-b-miller
Copy link
Contributor

Fixes #7854

raydouglass and others added 18 commits March 25, 2021 14:22
[gpuCI] Forward-merge branch-0.19 to branch-0.20 [skip ci]
[gpuCI] Forward-merge branch-0.19 to branch-0.20 [skip ci]
[gpuCI] Forward-merge branch-0.19 to branch-0.20 [skip ci]
[gpuCI] Forward-merge branch-0.19 to branch-0.20 [skip ci]
Updating the Java bindings package version to match the libcudf version for 0.20

also as [Deprecation announcement for CUDA 10.1 & 10.2 in v0.19](https://docs.rapids.ai/notices/rsn0005/), to update README to drop cuda 10.1 and cuda 10.2.

Please let me know if we are going to support other cuda version 11.x except 11.0

Authors:
  - pxLi (@pxLi)

Approvers:
  - Jason Lowe (@jlowe)
  - Robert (Bobby) Evans (@revans2)

URL: rapidsai#7747
[gpuCI] Forward-merge branch-0.19 to branch-0.20 [skip ci]
[gpuCI] Forward-merge branch-0.19 to branch-0.20 [skip ci]
[gpuCI] Forward-merge branch-0.19 to branch-0.20 [skip ci]
[gpuCI] Forward-merge branch-0.19 to branch-0.20 [skip ci]
[gpuCI] Forward-merge branch-0.19 to branch-0.20 [skip ci]
[gpuCI] Forward-merge branch-0.19 to branch-0.20 [skip ci]
[gpuCI] Forward-merge branch-0.19 to branch-0.20 [skip ci]
[gpuCI] Forward-merge branch-0.19 to branch-0.20 [skip ci]
[gpuCI] Forward-merge branch-0.19 to branch-0.20 [skip ci]
[gpuCI] Forward-merge branch-0.19 to branch-0.20 [skip ci]
@brandon-b-miller brandon-b-miller added bug Something isn't working 3 - Ready for Review Ready for review by team Python Affects Python cuDF API. Cython non-breaking Non-breaking change labels Apr 5, 2021
@brandon-b-miller brandon-b-miller requested a review from a team as a code owner April 5, 2021 21:44
@@ -237,9 +237,10 @@ def contains(self, search_key):
Series([False, True, True])
dtype: bool
"""
search_key = cudf.Scalar(search_key)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is the only thing we were missing. Can we keep the Cython as taking a DeviceScalar with this change?

@kkraus14
Copy link
Collaborator

kkraus14 commented Apr 5, 2021

We may want to pull this into 0.19, this API is pretty unusable without this fix.

@kkraus14 kkraus14 changed the base branch from branch-0.20 to branch-0.19 April 5, 2021 21:56
@kkraus14 kkraus14 requested a review from a team as a code owner April 5, 2021 21:56
@kkraus14 kkraus14 requested review from a team as code owners April 5, 2021 21:56
@kkraus14 kkraus14 changed the base branch from branch-0.19 to branch-0.20 April 5, 2021 21:56
@kkraus14 kkraus14 removed request for a team April 5, 2021 21:58
@brandon-b-miller brandon-b-miller changed the base branch from branch-0.20 to branch-0.19 April 5, 2021 21:58
@brandon-b-miller
Copy link
Contributor Author

Closing to retarget 0.19

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Ready for Review Ready for review by team bug Something isn't working non-breaking Non-breaking change Python Affects Python cuDF API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[BUG] list contains requires passing a device scalar
5 participants