Talk:Matrix multiplication

From Rosetta Code
Revision as of 23:06, 14 August 2016 by rosettacode>Arbautjc (Created page with "== Hints about optimization == The task looks easy, but between two implementations of this basic function, speed may differ by several orders of magnitude. There are several...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Hints about optimization

The task looks easy, but between two implementations of this basic function, speed may differ by several orders of magnitude. There are several ways to optimize a matrix product (optimizing cache usage by loop order and block product, transposing, using SIMD processor instructions, OpenMP...). Here is a lecture I like at MIT OpenCourseWare: Matrix Multiply: A Case Study. In real life, one would use an optimized BLAS library like what is found in ATLAS or Intel MKL. Arbautjc (talk) 23:05, 14 August 2016 (UTC)