Skip to main content

Mojo function

dot_at_b

dot_at_b(c: TileTensor[c.dtype, c.LayoutType, c.origin, linear_idx_type=c.linear_idx_type, element_size=c.element_size], a: TileTensor[c.dtype, c.LayoutType, c.origin, linear_idx_type=c.linear_idx_type, element_size=c.element_size], b: TileTensor[c.dtype, c.LayoutType, c.origin, linear_idx_type=c.linear_idx_type, element_size=c.element_size])

Performs a matrix multiply C = A^T * B using Apple AMX instructions.

Supports f32 (16x16) and f16 (32x32) tiles. All matrices are stored in row-major order.

Was this page helpful?