blocking-tutorial
By HazyResearch
blocking-tutorial | how-to-optimize-gemm | |
---|---|---|
5 | 2 | |
127 | 1,618 | |
0.8% | 1.6% | |
0.0 | 0.0 | |
11 months ago | 9 months ago | |
C++ | C | |
- | - |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
blocking-tutorial
Posts with mentions or reviews of blocking-tutorial.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-02-28.
-
How can I add two vectors in C++?
I found this interesting because it shows that even something as simple as matrix multiplication (or addition) is much more complicated to implement than one might think. It also includes the source code.
-
BLAS-level CPU Performance in 100 Lines of C
There's code, if you're curious what C code looks like for this kind of speed: https://github.com/HazyResearch/blocking-tutorial
I was referring to https://github.com/HazyResearch/blocking-tutorial/blob/maste... which upon closer inspection uses intrinsics in the inner loop, but to a much lesser degree and arguably specifying -mavx2 -mfma compiler options would yield comparable results...
how-to-optimize-gemm
Posts with mentions or reviews of how-to-optimize-gemm.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-02-28.
-
BLAS-level CPU Performance in 100 Lines of C
I'm unconvinced by the need for intrinsics in many cases (other than possibly for prefetch). I took out those out of the final version of [1] and got code that actually ran faster on a contemporary processor, targeting the same old SIMD.
1. https://github.com/flame/how-to-optimize-gemm/tree/master/sr...
-
Help minimizing execution time of a matrix inversion function
Maybe this will somehow help you: https://github.com/flame/how-to-optimize-gemm I know this is not exactly about matrix inversion, but there are many techniques that help with matrix code optimization.
What are some alternatives?
When comparing blocking-tutorial and how-to-optimize-gemm you can also consider the following projects:
Halide - a language for fast, portable data-parallel computation
blis - BLAS-like Library Instantiation Software Framework
blislab - BLISlab: A Sandbox for Optimizing GEMM