What it takes to transpose a matrix

·Hacker News··

What it takes to transpose a matrix Table of Contents Introduction Setting Naive implementation [3.90] Read stream Write stream Combining read and write streams together Dealing with cache aliasing Reversing the order [2.61] Exploring block structure [1.46] Software prefetching [1.35] 64-bit SIMD [0.74] 256-bit SIMD [0.49] Buffering output [0.35] Conclusion Andrei Gudkov <gudokk@gmail.com> Introduction Classical CPU architecture is a poor choice for performing matrix-oriented computations.

Read full article →

Related Articles

New HIV vaccine shows unprecedented success in preclinical study
codebyaditya · Hacker News · 6h ago
A walk through of the DeltaNet family of linear attention variants
AnhTho_FR · Hacker News · 3h ago
GrapheneOS Defends Data-Wiping Function That Blocked US Border Search
pseudolus · Hacker News · 4h ago
US citizen charged after GrapheneOS phone wipes during airport search
eecc · Hacker News · 1d ago
Zig's Incremental Compilation Internals
garyhtou · Hacker News · 4h ago