IMPORTANT: To view this page as Markdown, append `.md` to the URL (e.g. /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. /get-started.md).

Mojo function

apple_mma_load

def apple_mma_load[dtype: DType](ptr: Pointer[Scalar[dtype], address_space=ptr.address_space, _safe=True], row_stride: Int, col_stride: Int = Int(1)) -> SIMD[dtype, SIMDLength(8)]

Loads a 16x16 matrix fragment for the current simdgroup thread.

Parameters:

  • ​dtype (DType): Element type of the matrix.

Args:

Returns:

SIMD[dtype, SIMDLength(8)]: SIMD vector of 8 elements for this thread's fragment.