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

Fix concurrency issues in k-means++ initialization #1048

Merged

Conversation

Nyrio
Copy link
Contributor

@Nyrio Nyrio commented Nov 24, 2022

The cub calls were previously launched on the default stream whereas the rest was launched in the stream attached to the raft handle, and there was a missing synchronization after a D2H copy of the index that is used immediately after.

@Nyrio Nyrio added bug Something isn't working non-breaking Non-breaking change cpp labels Nov 24, 2022
@Nyrio Nyrio requested a review from a team as a code owner November 24, 2022 20:33
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.

LGTM, thanks again @Nyrio!

@cjnolet
Copy link
Member

cjnolet commented Nov 29, 2022

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 026b78e into rapidsai:branch-23.02 Nov 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cpp non-breaking Non-breaking change
Projects
Development

Successfully merging this pull request may close these issues.

2 participants