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

One cudaStream_t instance per raft::handle_t #291

Merged
merged 58 commits into from
Dec 13, 2021

Conversation

divyegala
Copy link
Member

@divyegala divyegala commented Jul 12, 2021

closes #293
closes #115

This PR also updates the cython build to std=c++17.

@divyegala divyegala requested review from a team as code owners July 12, 2021 21:49
@divyegala divyegala marked this pull request as draft July 12, 2021 21:49
@divyegala divyegala added breaking Breaking change improvement Improvement / enhancement to an existing function labels Jul 14, 2021
@divyegala divyegala marked this pull request as ready for review July 14, 2021 20:52
@divyegala
Copy link
Member Author

Depends on rapidsai/rmm#818

@dantegd dantegd requested review from wphicks and cjnolet July 14, 2021 21:40
cpp/include/raft/handle.hpp Outdated Show resolved Hide resolved
cpp/include/raft/handle.hpp Outdated Show resolved Hide resolved
cpp/include/raft/handle.hpp Outdated Show resolved Hide resolved
cpp/test/handle.cpp Outdated Show resolved Hide resolved
@divyegala divyegala requested a review from seunghwak July 16, 2021 17:22
@divyegala
Copy link
Member Author

@cjnolet whenever you get a chance to review, now that internal streams don't exist as a vector anymore, the brute force KNN detail API had to be updated accordingly. I think it will look cleaner if that API also just accepted the handle instead. If you agree, I'll go ahead and change that API

Copy link
Member

@cjnolet cjnolet left a comment

Choose a reason for hiding this comment

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

Looks great, just mostly a question about the use of default_stream

cpp/test/linalg/cholesky_r1.cu Show resolved Hide resolved
python/raft/common/handle.pyx Show resolved Hide resolved
python/raft/common/handle.pyx Outdated Show resolved Hide resolved
cpp/include/raft/handle.hpp Outdated Show resolved Hide resolved
@github-actions github-actions bot removed the gpuCI label Nov 17, 2021
@divyegala
Copy link
Member Author

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 906e5e6 into rapidsai:branch-22.02 Dec 13, 2021
rapids-bot bot pushed a commit to rapidsai/cugraph that referenced this pull request Dec 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking Breaking change CMake cpp improvement Improvement / enhancement to an existing function python
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[FEA] Update raft::handle_t to be coupled with one cudaStream_t instance [FEA] upgrade CUDA stream pool
7 participants