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_8x8
def apple_mma_load_8x8[dtype: DType](ptr: Pointer[Scalar[dtype], address_space=ptr.address_space, _safe=True], row_stride: Int, col_stride: Int = Int(1)) -> SIMD[dtype, SIMDLength(2)]
Loads an 8x8 matrix fragment for the current simdgroup thread.
Parameters:
- βdtype (
DType): Element type of the matrix.
Args:
- βptr (
Pointer[Scalar[dtype], address_space=ptr.address_space, _safe=True]): Pointer to the top-left corner of the 8x8 tile. - βrow_stride (
Int): Distance between consecutive rows in the buffer. - βcol_stride (
Int): Distance between consecutive columns within a row.
Returns:
SIMD[dtype, SIMDLength(2)]: SIMD vector of 2 elements for this thread's fragment.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!