Easton Man's Channel
05:18 · Jun 14, 2024 · Fri
Daniel Lemire's blog
Rolling your own fast matrix multiplication: loop order and vectorization
Telegraph
|
source
Telegraph
Rolling your own fast matrix multiplication: loop order and …
If you must multiply matrices, you should use dedicated libraries. However, we sometimes need to roll our own code. In C++, you can quickly write your own Matrix template: template <typename T> struct Matrix { Matrix(size_t rows, size_t cols) : data(new T[rows…
Home
Powered by
BroadcastChannel
&
Sepia