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

Unnecessary __syncthreads #104

Open
JohnSully opened this issue Apr 29, 2021 · 1 comment
Open

Unnecessary __syncthreads #104

JohnSully opened this issue Apr 29, 2021 · 1 comment

Comments

@JohnSully
Copy link

Forgive me if I'm missing something, but reading the code the __syncthreads in ComputeKeys appears to be unnecessary as I don't see any x-thread communication. Each thread appears to be reading from it's own index in the startx/starty arrays. I do see a decent performance bump if these are removed.

What is the purpose of the __syncthreads call here?

@BarrowHill
Copy link

JohnSully, hi dear, have you compiled without this function? Can I check it?

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

2 participants