Skip to content

Update get_rmm.cmake to better support CalVer#258

Merged
rapids-bot[bot] merged 2 commits intorapidsai:branch-21.08from
harrism:fix-get_rmm-calver
Jun 8, 2021
Merged

Update get_rmm.cmake to better support CalVer#258
rapids-bot[bot] merged 2 commits intorapidsai:branch-21.08from
harrism:fix-get_rmm-calver

Conversation

@harrism
Copy link
Member

@harrism harrism commented Jun 8, 2021

Updates raft's get_rmm.cmake logic to work like cuML and cuGraph, so that it works better with CalVer. This helps when building RAPIDS libraries locally and depending on a local RMM (e.g. with rapids-compose).

@dantegd dantegd added 3 - Ready for Review improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Jun 8, 2021
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.

Lgtm, just needs to merge 21.08 into the PR so it gets the fixes of #253

@harrism
Copy link
Member Author

harrism commented Jun 8, 2021

Lgtm, just needs to merge 21.08 into the PR so it gets the fixes of #253

Done

@dantegd
Copy link
Member

dantegd commented Jun 8, 2021

@gpucibot merge

@rapids-bot rapids-bot bot merged commit f9b3c49 into rapidsai:branch-21.08 Jun 8, 2021
rapids-bot bot pushed a commit that referenced this pull request Jun 8, 2021
In comms/test.hpp `device_scalar::value` was not being passed an explicit stream, which means that the default stream was being synced. rapidsai/rmm#789 will remove the default from this parameter, and would have therefore broken the RAFT build. So this PR fixes the oversynchronization and ensures RAFT will build after the RMM PR is merged.

Note this PR includes the cmake changes from #258 (just so I could build locally). Once #258 is merged this PR's changes will be simplified.

Authors:
  - Mark Harris (https://github.com/harrism)

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

URL: #259
loulankxh pushed a commit to loulankxh/raft that referenced this pull request Oct 14, 2025
Updates raft's get_rmm.cmake logic to work like cuML and cuGraph, so that it works better with CalVer. This helps when building RAPIDS libraries locally and depending on a local RMM (e.g. with rapids-compose).

Authors:
  - Mark Harris (https://github.com/harrism)

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

URL: rapidsai#258
loulankxh pushed a commit to loulankxh/raft that referenced this pull request Oct 14, 2025
In comms/test.hpp `device_scalar::value` was not being passed an explicit stream, which means that the default stream was being synced. rapidsai/rmm#789 will remove the default from this parameter, and would have therefore broken the RAFT build. So this PR fixes the oversynchronization and ensures RAFT will build after the RMM PR is merged.

Note this PR includes the cmake changes from rapidsai#258 (just so I could build locally). Once rapidsai#258 is merged this PR's changes will be simplified.

Authors:
  - Mark Harris (https://github.com/harrism)

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

URL: rapidsai#259
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3 - Ready for Review CMake cpp improvement Improvement / enhancement to an existing function non-breaking Non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants