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

A small optimization for JNI copy column view to column vector #8985

Merged

Conversation

revans2
Copy link
Contributor

@revans2 revans2 commented Aug 6, 2021

So if the underlying class is a ColumnVector then we don't make a copy of the data, we just increment the reference count.

@revans2 revans2 added 3 - Ready for Review Ready for review by team Java Affects Java cuDF API. Spark Functionality that helps Spark RAPIDS 4 - Needs cuDF (Java) Reviewer improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Aug 6, 2021
@revans2 revans2 self-assigned this Aug 6, 2021
@revans2 revans2 requested a review from a team as a code owner August 6, 2021 13:59
@codecov
Copy link

codecov bot commented Aug 6, 2021

Codecov Report

❗ No coverage uploaded for pull request base (branch-21.10@ffb37c9). Click here to learn what that means.
The diff coverage is n/a.

❗ Current head 41461b1 differs from pull request most recent head 8aed6fa. Consider uploading reports for the commit 8aed6fa to get more accurate results
Impacted file tree graph

@@               Coverage Diff               @@
##             branch-21.10    #8985   +/-   ##
===============================================
  Coverage                ?   10.59%           
===============================================
  Files                   ?      116           
  Lines                   ?    19034           
  Branches                ?        0           
===============================================
  Hits                    ?     2017           
  Misses                  ?    17017           
  Partials                ?        0           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ffb37c9...8aed6fa. Read the comment docs.

@revans2
Copy link
Contributor Author

revans2 commented Aug 6, 2021

@gpucibot merge

@rapids-bot rapids-bot bot merged commit d45f108 into rapidsai:branch-21.10 Aug 6, 2021
@revans2 revans2 deleted the optimize_jni_column_view_copy branch August 6, 2021 16:17
shwina pushed a commit to shwina/cudf that referenced this pull request Aug 9, 2021
…sai#8985)

So if the underlying class is a ColumnVector then we don't make a copy of the data, we just increment the reference count.

Authors:
  - Robert (Bobby) Evans (https://github.com/revans2)

Approvers:
  - Jason Lowe (https://github.com/jlowe)
  - Kuhu Shukla (https://github.com/kuhushukla)
  - Niranjan Artal (https://github.com/nartal1)

URL: rapidsai#8985
@vyasr vyasr added 4 - Needs Review Waiting for reviewer to review or respond and removed 4 - Needs cuDF (Java) Reviewer labels Feb 23, 2024
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 4 - Needs Review Waiting for reviewer to review or respond improvement Improvement / enhancement to an existing function Java Affects Java cuDF API. non-breaking Non-breaking change Spark Functionality that helps Spark RAPIDS
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants