Skip to content

Convert remaining uses of device_vector in groupby - #8148

Merged
rapids-bot[bot] merged 4 commits into
NVIDIA:branch-0.20from
harrism:fea_groupby_uvector
May 5, 2021
Merged

rapids-bot[bot] merged 4 commits into
NVIDIA:branch-0.20from
harrism:fea_groupby_uvector

Conversation

@harrism

@harrism harrism commented May 4, 2021 •

Copy link
Copy Markdown
Contributor

Converts remaining uses of device_vector in groupby to device_uvector.

Contributes to #7287.

Performance on what groupby benchmarks there are is not affected much.

(rapids) rapids@compose:~/cudf/cpp/build/release$ _deps/benchmark-src/tools/compare.py benchmarks ~/cudf/cpp/build/groupby_before.json ~/cudf/cpp/build/groupby_after.json 
Comparing /home/mharris/rapids/cudf/cpp/build/groupby_before.json to /home/mharris/rapids/cudf/cpp/build/groupby_after.json
Benchmark                                                    Time             CPU      Time Old      Time New       CPU Old       CPU New
-----------------------------------------------------------------------------------------------------------------------------------------
Groupby/Basic/10000/manual_time                           -0.0528         -0.0452             0             0             0             0
Groupby/Basic/10000000/manual_time                        +0.0089         +0.0088             3             3             3             3
Groupby/PreSorted/10000000/manual_time                    -0.0004         -0.0004             8             8             8             8
Groupby/PreSortedNth/1000000/manual_time                  -0.0045         -0.0044             0             0             0             0
Groupby/PreSortedNth/10000000/manual_time                 +0.0007         +0.0008             0             0             0             0
Groupby/PreSortedNth/100000000/manual_time                -0.0023         -0.0023             4             4             4             4
Groupby/Shift/1000000/manual_time                         +0.0024         +0.0028             0             0             0             0
Groupby/Shift/10000000/manual_time                        -0.0048         -0.0058             3             3             3             3
Groupby/Shift/100000000/manual_time                       +0.0007         +0.0007            37            37            37            37

@harrism
harrism requested a review from a team as a code owner May 4, 2021 03:09
@github-actions github-actions Bot added the libcudf Affects libcudf (C++/CUDA) code. label May 4, 2021
@harrism harrism added 3 - Ready for Review Ready for review by team improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels May 4, 2021
@harrism harrism self-assigned this May 4, 2021
@codecov

codecov Bot commented May 4, 2021 •

Copy link
Copy Markdown

Codecov Report

Merging #8148 (fa15edd) into branch-0.20 (51336df) will increase coverage by 0.03%.
The diff coverage is n/a.

Impacted file tree graph

@@               Coverage Diff               @@
##           branch-0.20    #8148      +/-   ##
===============================================
+ Coverage        82.88%   82.92%   +0.03%     
===============================================
  Files              103      104       +1     
  Lines            17668    17896     +228     
===============================================
+ Hits             14645    14840     +195     
- Misses            3023     3056      +33     
Impacted Files Coverage Δ
python/cudf/cudf/core/abc.py 91.66% <ø> (+0.17%) ⬆️
python/cudf/cudf/core/algorithms.py 82.35% <ø> (ø)
python/cudf/cudf/core/column/__init__.py 100.00% <ø> (ø)
python/cudf/cudf/core/column/categorical.py 92.37% <ø> (+0.13%) ⬆️
python/cudf/cudf/core/column/column.py 88.20% <ø> (-0.44%) ⬇️
python/cudf/cudf/core/column/datetime.py 88.03% <ø> (-1.88%) ⬇️
python/cudf/cudf/core/column/decimal.py 91.04% <ø> (-1.89%) ⬇️
python/cudf/cudf/core/column/interval.py 91.66% <ø> (+0.55%) ⬆️
python/cudf/cudf/core/column/lists.py 86.98% <ø> (-0.43%) ⬇️
python/cudf/cudf/core/column/numerical.py 94.72% <ø> (+0.29%) ⬆️
... and 38 more

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 53e1c66...fa15edd. Read the comment docs.

@harrism

harrism commented May 4, 2021

Copy link
Copy Markdown
Contributor Author

oops, pushed to wrong PR.

@harrism

harrism commented May 5, 2021

Copy link
Copy Markdown
Contributor Author

@gpucibot merge

@rapids-bot
rapids-bot Bot merged commit 3af3bf3 into NVIDIA:branch-0.20 May 5, 2021
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 improvement Improvement / enhancement to an existing function libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants