Matrix Multiplication's Peak Performance Gains

Loop tiling is particularly effective for memory-bound operations like matrix multiplication, transforming them into compute-bound tasks. For a 1680x1680 matrix multiplication, optimizing tile size reduced runtime on an Intel i5-10210U from 2.88 seconds (tile size 8) to 1.67 seconds (tile size 12).

Sources

Open the full topic