22 ms·
Really cool visuals, thank you for sharing this. I feel like the importance of padding is a bit understated on this page - BLAS and LAPACK require LDA and LDB
by peterabbitcook 4mo ago
Really cool visuals, thank you for sharing this.
I feel like the importance of padding is a bit understated on this page - BLAS and LAPACK require LDA and LDB parameters, and you can definitely tune these to the page size of a particular system/machine to improve performance.
When working with BLAS/LAPACK or other matrix libs, you can often apply a little linear algebra to reshape the problem rather than the input data to avoid a transpose altogether