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

tcgen05_st

tcgen05_st[dtype: DType, width: Int, //, *, datapaths: Int, bits: Int, repeat: Int, pack: Bool](tmem_addr: UInt32, data: InlineArray[Scalar[dtype], width])

Stores data from registers into tensor memory.

Parameters:

  • dtype (DType): The data type to store.
  • width (Int): The number of elements in the data vector.
  • datapaths (Int): The first dimension of the shape.
  • bits (Int): The second dimension of the shape.
  • repeat (Int): The repeat factor.
  • pack (Bool): Whether to pack two 16-bit chunks of adjacent columns into a single 32-bit register.

Args: