This Flake give a Qemu RISC-V Linux / Spike bare metal runtime to run benchmark, aim to make test environment reproducible and result fair enough.
STREAM - Custom Licence, but Open Source friendly
RRZE-HPC/TheBandwidthBenchmark - MIT Licence
shaswata56/BenchUtil - WTFPL license
shaswata56/BenchUtil - WTFPL license
Verilator Model
A Nix Flake is provided for convenience, but not necessary dependency in the final project.
With Nix installed, run nix develop
to get the reproducible development environment.
Run vm
to launch QEMU.
With just
installed, run just compile
then just run
in the program source code directory.
Or you can run commands manually. Justfile
is extremely easy to read and understand.
- Memory Access: STREAM
- Floating-point Arithmetic: Linpack, Whetstone
- Utils: soft-fp(cyl), abstract-machine, openlibm
- Can build: Spike, RISC-V OpenOCD
- Run Configurable Linux on QEMU RISC-V Platform
- Basic Benchmark Programs
- Math Library
- GEMM
- Organize Build Scripts
- More Complex Programs
- Decide OpenPerf Project File Struct