Quickstart¶
Get the project building and running in about a minute.
1. Prerequisites¶
- A C99 (or later) compiler —
gcc,clang, or MSVC. make(optional; you can rungccdirectly).- No external libraries required.
2. Clone & build¶
This builds every runnable optimization level plus the reference drivers into
build/.
3. Run the test suite¶
4. Run an optimization level¶
Each level is a runnable program that times the kernel and reports GFLOPS:
5. Build manually (no make)¶
# matvec level 5
gcc -O2 -I include -o build/matvec5 src/matvec/optim5.c
# matmul reference driver
gcc -O2 -I include -o build/ref_matmul gemm.c src/matmul.c
6. Preview the docs (optional)¶
Next steps
Read how to interpret GFLOPS and the roofline, or dive straight into the matmul ladder.