Skip to main content

Unit 0.4.2 MyGemm

The exercises revolve around the optimization of implementations of matrix-matrix multiplication. We will write and rewrite the routine

MyGemm( m, n, k, A, ldA, B, ldB, C, ldC )

which computes \(C := A B + C \text{,}\) where \(C \) is \(m \times n \text{,}\) \(A \) is \(m \times k \text{,}\) and \(B \) is \(k \times n \text{.}\)

"Gemm" is a commonly used acronym that stands for "Ge"neral "m"atrix "m"ultiplication. More on this in the enrichment in Unit 1.5.1.