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

store_x

def store_x[row_count: Int, dtype: DType](src: Pointer[Scalar[dtype], _safe=False], start_index: Int)

Loads row_count rows from memory at src into AMX X registers starting at start_index.

Parameters:

  • ​row_count (Int): Number of X register rows to load; must be 1 or 2.
  • ​dtype (DType): Element type of the X register rows.

Args:

  • ​src (Pointer[Scalar[dtype], _safe=False]): Source memory address to load rows from.
  • ​start_index (Int): Starting X register row index to load into.

Was this page helpful?