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

Fixing the unit test issue(s) in RAFT #646

Merged
merged 2 commits into from
May 11, 2022

Conversation

vinaydes
Copy link
Contributor

The call to uniform() is getting executed in handle.get_stream() and kernels/operations after uniform() are executed in separately created stream. This causes synchronization hazard. When default RNG was changed from Philox to PCG, the bug got exposed due to the relative difference in generation speed of PCG and Philox (PCG is faster). Adding a stream synchronization call fixes the issue.

@vinaydes vinaydes requested a review from a team as a code owner May 11, 2022 17:43
@github-actions github-actions bot added the cpp label May 11, 2022
@cjnolet cjnolet added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels May 11, 2022
cpp/test/linalg/divide.cu Outdated Show resolved Hide resolved
@cjnolet
Copy link
Member

cjnolet commented May 11, 2022

@gpucibot merge

@rapids-bot rapids-bot bot merged commit 270bf95 into rapidsai:branch-22.06 May 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
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