Skip to content

Check atomics when determining coherence - #1651

Merged
alan-baker merged 6 commits into
google:mainfrom
alan-baker:coherent-atomic
Sep 11, 2026
Merged

alan-baker merged 6 commits into
google:mainfrom
alan-baker:coherent-atomic

Conversation

@alan-baker

Copy link
Copy Markdown
Collaborator

Fixes: #1638

  • Check atomic functions as synchronization primitives when determining whether to make a descriptor coherent

Comment thread test/Coherent/atomic_store.ll
@alan-baker
alan-baker requested a review from dneto0 September 10, 2026 23:37
Fixes: google#1638

* Check atomic functions as synchronization primitives when determining
  whether to make a descriptor coherent
* More tests
* Fix atomic rmw handling
* Add OpAtomicLoad handling
Comment thread lib/AllocateDescriptorsPass.h Outdated
Comment thread lib/AllocateDescriptorsPass.cpp Outdated
* Use SPIR-V header's enum instead constants
* Fix comment
Comment thread lib/AllocateDescriptorsPass.cpp
Comment thread test/Coherent/atomic_store.ll
@alan-baker
alan-baker merged commit a57d091 into google:main Sep 11, 2026
18 checks passed
@alan-baker
alan-baker deleted the coherent-atomic branch September 11, 2026 19:07
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.

Coherent decoration and OpenCL 2.0 acquire/release atomics

3 participants