by brcmthrowaway · 1w ago · 0 comments
I multiply two square matrices in numpy. Will my performance improve?
In this case, and in many others, optimal algorithms have extremely large C's. In fact so large that there is no practical reason to ever use them. My understanding is that all matrices are multiplied in practice naively (O(n^3)) or with Strassen's algorithm (O(n^2.8something)) but that none of the newer (20th century and beyond) algorithms are practical.
"Our implementation demonstrates speedup over conventional DGEMM even on an Intel(R) Xeon Phi(TM) coprocessor utilizing 240 threads." (Just funny, a modest 240 threads dedicated to mmul..)