jax.experimental.pallas.mosaic_gpu.atomic_min

Contents

jax.experimental.pallas.mosaic_gpu.atomic_min#

jax.experimental.pallas.mosaic_gpu.atomic_min(ref, val, *, optimized=True)[source]#

Performs an atomic store-min 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