IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /max/get-started.md). For the complete documentation index, see llms.txt.
Skip to main content
For the complete documentation index, see llms.txt. Markdown versions of all pages are available by appending .md to any URL (e.g. /max/get-started.md).

Mojo function

tma_wait_pipelined

def tma_wait_pipelined[c_type: DType, tma_rank: Int, tile_shape: IndexList[tma_rank], desc_shape: IndexList[tma_rank], is_last_stage: Bool](c_tma_op: TMATensorTile[c_type, tma_rank, tile_shape, desc_shape])

Wait for TMA stores with pipelining.

For SM100 output pipeline:

  • Non-last stages: Keep 1 store in flight for pipelining
  • Last stage: Wait for all stores to complete

Was this page helpful?