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

Support compilation with Thrust 1.15 #4469

Merged

Conversation

robertmaynard
Copy link
Contributor

The following changes are required for compilation with Thrust 1.15, which is becoming the minimum required version across all of RAPIDS for 22.02.

The changes needed:

  • Removal of global using namespace std. This makes calls to cub:: ambigous as now thrust::cub ( new since 1.14? ) and cub both are valid.
  • Updates from Update cub 1.13.1 calls #4334, which fixes cub::DeviceSegmentedReduce signature changes

@robertmaynard robertmaynard added bug Something isn't working 3 - Ready for Review Ready for review by team non-breaking Non-breaking change labels Jan 5, 2022
@robertmaynard robertmaynard requested a review from a team as a code owner January 5, 2022 21:22
@dantegd
Copy link
Member

dantegd commented Jan 6, 2022

@robertmaynard just a quick heads up, CI will fail for a while still, it should be fixed later today (unrelated to the changes of the PR)

@dantegd
Copy link
Member

dantegd commented Jan 7, 2022

rerun tests

@robertmaynard
Copy link
Contributor Author

@dantegd I think this ready for review/merge

Copy link
Member

@dantegd dantegd left a comment

Choose a reason for hiding this comment

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

Leaving rfc review to avoid accidental merge after offline discussion

@robertmaynard robertmaynard requested a review from a team as a code owner January 10, 2022 18:26
@github-actions github-actions bot added the CMake label Jan 10, 2022
@codecov-commenter
Copy link

Codecov Report

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

Impacted file tree graph

@@               Coverage Diff               @@
##             branch-22.02    #4469   +/-   ##
===============================================
  Coverage                ?   85.75%           
===============================================
  Files                   ?      236           
  Lines                   ?    19310           
  Branches                ?        0           
===============================================
  Hits                    ?    16560           
  Misses                  ?     2750           
  Partials                ?        0           
Flag Coverage Δ
dask 46.54% <0.00%> (?)
non-dask 78.65% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out 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 03132e8...5a39db8. Read the comment docs.

@dantegd
Copy link
Member

dantegd commented Jan 12, 2022

@gpucibot merge

@rapids-bot rapids-bot bot merged commit f5556ba into rapidsai:branch-22.02 Jan 12, 2022
@robertmaynard robertmaynard deleted the bug/compile_with_thrust_1.15 branch January 18, 2022 20:22
vimarsh6739 pushed a commit to vimarsh6739/cuml that referenced this pull request Oct 9, 2023
The following changes are required for compilation with Thrust 1.15, which is becoming the minimum required version across all of RAPIDS for 22.02.

The changes needed:
- Removal of global `using namespace std`. This makes calls to `cub::` ambigous as now thrust::cub ( new since 1.14? ) and cub both are valid.
- Updates from rapidsai#4334, which fixes `cub::DeviceSegmentedReduce` signature changes

Authors:
  - Robert Maynard (https://github.com/robertmaynard)

Approvers:
  - Dante Gama Dessavre (https://github.com/dantegd)

URL: rapidsai#4469
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 CMake CUDA/C++ non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants