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

Race condition in scalar prod #42

Closed
illuhad opened this issue Jun 2, 2021 · 1 comment
Closed

Race condition in scalar prod #42

illuhad opened this issue Jun 2, 2021 · 1 comment

Comments

@illuhad
Copy link
Collaborator

illuhad commented Jun 2, 2021

This line is a race condition:
https://github.com/bcosenza/sycl-bench/blob/5d05aa4193944ca2e42f6ac2e6bd29109dc8174e/single-kernel/scalar_prod.cpp#L131

As it writes into memory that might be read by work items from work group 0. I should fix this.

@illuhad
Copy link
Collaborator Author

illuhad commented Aug 10, 2021

Fixed.

@illuhad illuhad closed this as completed Aug 10, 2021
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

No branches or pull requests

1 participant