jax.experimental.pallas.mosaic_gpu.wait_gmem_to_smem#
- jax.experimental.pallas.mosaic_gpu.wait_gmem_to_smem(n)[source]#
Waits until at most
ncp.asyncGMEM->SMEM copies are in flight.Note
This waiting mechanism is only supported on pre-Hopper GPUs, which use the
cp.asyncimplementation ofjax.experimental.pallas.mosaic_gpu.copy_gmem_to_smem().- Parameters:
n (int) – The maximum number of copies allowed to remain in flight.
- Return type:
None