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).

apple_mma_load_8x8

def apple_mma_load_8x8[dtype: DType](ptr: UnsafePointer[Scalar[dtype], address_space=ptr.address_space], row_stride: Int, col_stride: Int = Int(1)) -> SIMD[dtype, SIMDSize(2)]

Loads an 8x8 matrix fragment for the current simdgroup thread.

Parameters:

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

Args:

Returns:

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