jax.experimental.pallas.mosaic_gpu.async_store_smem#
- jax.experimental.pallas.mosaic_gpu.async_store_smem(src, ref, barrier, *, cluster_idx, cluster_dim, optimized=True, atomic=None)[source]#
Asynchronously stores an array to a SMEM reference within the cluster.
- Parameters:
src (jax.Array) – The array containing the data to be stored.
ref (_Ref) – The SMEM reference to store to.
barrier (_Ref) – The barrier to update when the copy has completed (in destination block).
cluster_idx (jax.Array) – The index of the target cluster block within cluster_dim.
cluster_dim (Hashable | int) – The cluster axis of cluster_idx.
optimized (bool) – If True, the store is guaranteed not to cause any bank conflicts.
atomic (Literal['add', 'max', 'min', 'and', 'or', 'xor'] | None) – The reduction operation to apply instead of overwriting the data.
- Return type:
None