Skip to content

Memory Synchronization Failure #6629

Answered by cwfitzgerald
kentslaney asked this question in Q&A
Discussion options

You must be logged in to vote

This is a petty common misconception about storageBarrier(), it only applies within the workgroup. That is, that ensures the entire workgroup will see all of the workgroups writes to global memory. If you need to synchronize the entire dispatch, you need to use two dispatches.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@kentslaney
Comment options

@kentslaney
Comment options

Answer selected by kentslaney
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants