Benchmarks for investigating the BLASFEO Unpredictable execution time.
If you want to install it manually clone the repository. and follow the instructions. Otherwise it will be automatically added as submodule by the Makefile.
Don't forget to specify -DCMAKE_BUILD_TYPE=Release
when building the benchmark library manually.
If you see the following warning when running a benchmark
***WARNING*** Library was built as DEBUG. Timings may be affected.
it means that you didn't do it.
If you want to install it manually clone the repository. and follow the instructions. Otherwise it will be automatically added as submodule by the Makefile
See your distribution documentation
- Archlinux:
yay -S intel-mkl openmp
See your distribution documentation
- Archlinux:
pacman -S openblas
To compile the benchmark, just run
make
If you already all dependencies manually you can run just
make bench
Before running the benchmark, disable CPU scaling by the following command:
sudo cpupower frequency-set -g performance
otherwise you will see this message:
***WARNING*** CPU scaling is enabled, the benchmark real time measurements may be noisy and will incur extra overhead.
To run the google-based benchmark, run
./bench
To see more options, run
./bench --help
or refer to the documentation.