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

Cleanup using C++17 features #7931

Merged
merged 2 commits into from
Apr 10, 2021
Merged

Conversation

codereport
Copy link
Contributor

@codereport codereport commented Apr 10, 2021

Small cleanup PR

@codereport codereport added 3 - Ready for Review Ready for review by team code quality libcudf Affects libcudf (C++/CUDA) code. 4 - Needs Review Waiting for reviewer to review or respond improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Apr 10, 2021
@codereport codereport self-assigned this Apr 10, 2021
@codereport codereport requested a review from a team as a code owner April 10, 2021 01:16
cpp/include/cudf_test/timestamp_utilities.cuh Outdated Show resolved Hide resolved
cpp/include/cudf_test/timestamp_utilities.cuh Outdated Show resolved Hide resolved
cpp/src/merge/merge.cu Show resolved Hide resolved
cpp/tests/wrappers/timestamps_test.cu Show resolved Hide resolved
@codereport codereport requested a review from ttnghia April 10, 2021 03:34
@codecov
Copy link

codecov bot commented Apr 10, 2021

Codecov Report

Merging #7931 (a682fc1) into branch-0.20 (599f62d) will increase coverage by 0.41%.
The diff coverage is 88.73%.

❗ Current head a682fc1 differs from pull request most recent head 1aeb907. Consider uploading reports for the commit 1aeb907 to get more accurate results
Impacted file tree graph

@@               Coverage Diff               @@
##           branch-0.20    #7931      +/-   ##
===============================================
+ Coverage        82.30%   82.71%   +0.41%     
===============================================
  Files              101      103       +2     
  Lines            17053    17702     +649     
===============================================
+ Hits             14035    14643     +608     
- Misses            3018     3059      +41     
Impacted Files Coverage Δ
python/cudf/cudf/utils/utils.py 83.25% <ø> (-1.81%) ⬇️
python/cudf/cudf/utils/dtypes.py 83.44% <46.66%> (-6.45%) ⬇️
python/cudf/cudf/core/groupby/groupby.py 92.41% <78.57%> (-1.04%) ⬇️
python/cudf/cudf/core/column/lists.py 87.41% <80.00%> (+0.19%) ⬆️
python/dask_cudf/dask_cudf/backends.py 89.58% <85.71%> (-0.05%) ⬇️
python/cudf/cudf/core/column/struct.py 96.29% <86.66%> (-3.71%) ⬇️
python/cudf/cudf/core/index.py 93.04% <88.09%> (+0.01%) ⬆️
python/cudf/cudf/core/column/decimal.py 92.92% <91.48%> (-0.92%) ⬇️
python/cudf/cudf/core/column/interval.py 91.11% <92.30%> (+0.48%) ⬆️
python/cudf/cudf/core/column/column.py 87.99% <92.59%> (+0.56%) ⬆️
... and 67 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 348ad4d...1aeb907. Read the comment docs.

@codereport codereport added 5 - Ready to Merge Testing and reviews complete, ready to merge and removed 3 - Ready for Review Ready for review by team 4 - Needs Review Waiting for reviewer to review or respond labels Apr 10, 2021
@codereport
Copy link
Contributor Author

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 738d6a2 into rapidsai:branch-0.20 Apr 10, 2021
Comment on lines +58 to +59
auto const min = std::min(lhs, rhs);
auto const max = std::max(lhs, rhs);
Copy link
Contributor

Choose a reason for hiding this comment

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

Why not minmax as mentioned in the comment?

rapids-bot bot pushed a commit to rapidsai/cuspatial that referenced this pull request Apr 13, 2021
cuDF 0.20 headers [now use C++17 features](rapidsai/cudf#7931), so we need to update to C++17 also.

We will also need to update CI images to use gcc-9, as C++17 support is incomplete in gcc-7 and gcc-8.

Authors:
  - Paul Taylor (https://github.com/trxcllnt)

Approvers:
  - Keith Kraus (https://github.com/kkraus14)
  - Christopher Harris (https://github.com/cwharris)
  - AJ Schmidt (https://github.com/ajschmidt8)

URL: #382
rapids-bot bot pushed a commit that referenced this pull request Apr 28, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5 - Ready to Merge Testing and reviews complete, ready to merge 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