triton-lang / triton

Development repository for the Triton language and compiler
https://triton-lang.org/
MIT License
13.5k stars 1.67k forks source link

Atomic Load and Store operations for Triton (tl.atomic_store/tl.atomic_load) #5187

Open plotfi opened 6 days ago

plotfi commented 6 days ago

The following PR adds tl.atomic_load and tl.atomic_store.

This allows for memory semantics that acquire and release in a total ordering for a given scope (cta/gpu/system).

TODO: Will add larger description once I take this PR out of draft mode.

Jokeren commented 6 days ago

@peterbell10 is familiar with this