Skip to content

Add store-like method for atomic_add#97

Open
AntonOresten wants to merge 5 commits intoJuliaGPU:mainfrom
AntonOresten:tile-space-atomics
Open

Add store-like method for atomic_add#97
AntonOresten wants to merge 5 commits intoJuliaGPU:mainfrom
AntonOresten:tile-space-atomics

Conversation

@AntonOresten
Copy link
Contributor

@AntonOresten AntonOresten commented Feb 23, 2026

Adds tile-space indexing for atomic_add, matching store's (array, index, tile) signature. This lets users swap between them without changing indexing logic. Perhaps this deserves its own function like atomic_store_add, but the method signature is unambiguous enough and not too far from the other explicitly tile-indexed methods.
I have not given much thought into whether other atomic ops should have such a method.

Depends on #96

Closes #50

@AntonOresten AntonOresten changed the title Add tile-space atomic op methods Add store-like method for atomic_add Feb 23, 2026
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.

Tile-wise atomic operations

1 participant