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

Does subgroupBallot synchronous invocations implicitly? #181

Closed
Inori opened this issue May 17, 2022 · 0 comments
Closed

Does subgroupBallot synchronous invocations implicitly? #181

Inori opened this issue May 17, 2022 · 0 comments

Comments

@Inori
Copy link

Inori commented May 17, 2022

As the spec says:

The function subgroupBallot() returns a set of bitfields containing the
result of evaluating the expression in all active invocations in the
subgroup.

So does this mean that at the point of execution right before subgroupBallot, we already have all the test result of all invocations in a subgroup, which means some invocations will wait others for the result?
Or the function only returns the bitfields at the time of execution without any implicit barrier so that some bits are newly updated while others are outdated?

@Inori Inori closed this as completed May 17, 2022
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