================= Possible Solution ================= Setup a Framework for Testing ============================= - Define Macros `DGEMM_MC` and `DGEMM_KC` for $M_c$ and $K_c$. - Define a Macro `DGEMM_MR` for $M_r$. - Allocate a small matrix $A$. - Allocate a buffer $p$ for $M_c \cdot K_c$ elements. - Initialize matrix $A$ (requires a function `initGeMatrix` for this purpose) - Print matrix $A$ and then buffer $p$. So we postpone the actual implementation of `gepack_A`! :import: session04/gepack_a_test.c Implement and test `dgepack_A` ============================== *After* compiling and running the above code we start to implement `dgepack_A`: :import: session04/gepack_a.c :navigate: up -> doc:index back -> doc:session04/page11 next -> doc:session04/page13