Skip to content

Commit 4638672

Browse files
author
Zenon Xiu
committed
change a file name to all low case
1 parent 09abc15 commit 4638672

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

content/learning-paths/mobile-graphics-and-gaming/kai_sme2_matmul_ukernel_explained/explain_with_an_example_p3.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ The operations performed to compute an 16x64 result submatrice (four 16x16 subma
1818
- Load two SME2 SVL-lengths of data from the packed RHS (containing 2 x64x2 INT4 values) into two SME2 Z registers, then use the SME2 LUTI4 lookup table instruction to convert these INT4 values into INT8 type, extending them to four SME2 Z registers (4VL).
1919
- Use the SME2 INT8 Outer Product Accumulate (MPOA) instruction to perform outer product operations with source from the Z register and each of the four Z registers, accumulates the results in four ZA tiles (which are initialized to zero). It produces intermediate results of four 16x16 output submatrices.
2020
The processes of the first itration can be illustrated in the diagram below:
21-
![Figure showing the first itration of the inner loop alt-text#center](images/run_matmuLsme2_step1.jpg "The first itration of the inner loop")
21+
![Figure showing the first itration of the inner loop alt-text#center](images/run_matmul_sme2_step1.jpg "The first itration of the inner loop")
2222
The diagram below illustrates the process of the second iteration along the K dimension,
2323
![Figure showing the second itration of the inner loop alt-text#center](images/run_matmul_sme2_step2.jpg "The second itration of the inner loop")
2424
- After completing the iterations in the block, the intermediate INT32 results of four 16x16 output submatrices are dequantized with the per-block LHS and RHS scale to FP32 floats, using Floating-point Multiply (FMUL), Floating-point Multiply and Accumulate (FMLA) and Signed fixed-point Convert to Floating-point (SCVTF) vector instructions. It produces the intermediate FP32 results of four 16x16 output submatrices.
@@ -75,4 +75,4 @@ The second iteration can be mapped back to the original FP32 LHS and RHS operati
7575

7676
**Note**: In this diagram, the RHS is laid out in the dimension of [N, K], which is different from the [K, N] dimension layout of the RHS in the video demonstration of 1VLx4VL. If you interpret the RHS in the diagrams above using the [K, N] dimension, you can match the previous video demonstration with the diagrams above.
7777

78-
By repeating the submatrix computation across the M and N dimensions, the entire result matrix can be calculated. If a non-empty bias is passed to the SME2 matmul microkernel, it also adds the bias to the result matrix.
78+
By repeating the submatrix computation across the M and N dimensions, the entire result matrix can be calculated. If a non-empty bias is passed to the SME2 matmul microkernel, it also adds the bias to the result matrix.

content/learning-paths/mobile-graphics-and-gaming/kai_sme2_matmul_ukernel_explained/images/run_matmuLsme2_step1.jpg renamed to content/learning-paths/mobile-graphics-and-gaming/kai_sme2_matmul_ukernel_explained/images/run_matmul_sme2_step1.jpg

File renamed without changes.

0 commit comments

Comments
 (0)