Skip to content

fix(cuda_std): Fix inverted logic in warp_vote_any, warp_vote_all intrinsics#358

Open
Snehal-Reddy wants to merge 1 commit intoRust-GPU:mainfrom
Snehal-Reddy:fix/warp-vote
Open

fix(cuda_std): Fix inverted logic in warp_vote_any, warp_vote_all intrinsics#358
Snehal-Reddy wants to merge 1 commit intoRust-GPU:mainfrom
Snehal-Reddy:fix/warp-vote

Conversation

@Snehal-Reddy
Copy link
Contributor

The implementations of warp_vote_any and warp_vote_all in crates/cuda_std/src/warp.rs are currently logically inverted. They return false when the vote condition is met (true) and true when it is not.

Fixes #356

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Inverted logic in warp_vote_any and warp_vote_all intrinsics

2 participants