jax.experimental.pallas.mosaic_gpu.atomic_and#
- jax.experimental.pallas.mosaic_gpu.atomic_and(ref, val, *, optimized=True)[source]#
Performs an atomic store-and of the value to the reference.
Note that atomicity is only guaranteed on the element-level.
- Parameters:
ref (_Ref) – The reference to store the value to.
val – The value to store.
optimized (bool) – If True, a compilation error will be raised if no optimized implementation for the store is available.
- Return type:
None