jax.experimental.pallas.mosaic_gpu.async_copy_scales_to_tmem

jax.experimental.pallas.mosaic_gpu.async_copy_scales_to_tmem#

jax.experimental.pallas.mosaic_gpu.async_copy_scales_to_tmem(smem_ref, tmem_ref, collective_axis=None)[source]#

Copies the MMA scales from SMEM to TMEM.

The copy is performed asynchronously and can be awaited by calling tcgen05_commit_arrive and waiting on the specified barrier. However, if the copy is consumed by an MMA operation issued in the same thread, no synchronization is necessary (except for eventually awaiting the MMA operation itself).

Parameters:
  • smem_ref (_Ref)

  • tmem_ref (_Ref)

  • collective_axis (AxisName | None)