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
read_x
def read_x[row_count: Int, dtype: DType](src: Pointer[Scalar[dtype], _safe=False], start_index: Int)
Stores row_count rows from AMX X registers starting at start_index to memory at src.
Parameters:
- βrow_count (
Int): Number of X register rows to store; must be 1 or 2. - βdtype (
DType): Element type of the X register rows.
Args:
- βsrc (
Pointer[Scalar[dtype], _safe=False]): Destination memory address for the stored rows. - βstart_index (
Int): Starting X register row index to store from.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!