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_store
def apple_mma_store[dtype: DType](ptr: Pointer[Scalar[dtype], address_space=ptr.address_space, _safe=True], row_stride: Int, frag: SIMD[dtype, SIMDLength(8)], col_stride: Int = Int(1))
Stores a 16x16 matrix fragment from 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 16x16 tile. - βrow_stride (
Int): Distance between consecutive rows in the buffer. - βfrag (
SIMD[dtype, SIMDLength(8)]): SIMD vector of 8 elements to store. - βcol_stride (
Int): Distance between consecutive columns within a row.
Was this page helpful?
Thank you! We'll create more content like this.
Thank you for helping us improve!