u/Exhausted-Engineerin r/compsci • Recommends
On “Feedback on my matrix multiplication algorithm”
…A12] * B11 B12 = A11*B11+A12*B21 A11*B12+A12*B22 = C
A21 A22 * B21 B22 A21*B11+A22*B21 A21*B12+A22*B22
```
If you choose a block size that fits in your cache, you will lower the number of cache misses / page fault and increase the overal efficiency. This is what BLAS/LAPACK/ATLAS does.
I'd recommend you watch this video : link to this video…