Write your own kernel optimiser
Comments
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Ranked by a public rubric, not by votes: what a comment adds counts, not who wrote it. How comments are ranked · Comment rules
Summary
Cachet is a new language that makes performance decisions explicit rather than leaving them to an optimising compiler. Its author shows how matrix multiplication can be written as a one-line contraction, then turned into fast CPU and GPU kernels by a sequence of schedule rewrites.