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

rdna_mma

def rdna_mma(a_reg: TileTensor[address_space=AddressSpace.LOCAL, linear_idx_type=a_reg.linear_idx_type, element_size=a_reg.element_size], b_reg: TileTensor[address_space=AddressSpace.LOCAL, linear_idx_type=b_reg.linear_idx_type, element_size=b_reg.element_size], c_reg: TileTensor[address_space=AddressSpace.LOCAL, linear_idx_type=c_reg.linear_idx_type, element_size=c_reg.element_size])

Per-fragment WMMA loop. Derives MMA counts from operand shapes; accumulator indexing is col-major over (M, N): c_idx = m + n*num_m.

Args: