tmmsartor / blasfeo_benchmark

Benchmarks for investigating the BLASFEO unstable run-time issue

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

blasfeo_benchmark

Benchmarks for investigating the BLASFEO Unpredictable execution time.

Dependencies

Google benchmarks

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.

BLASFEO

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

MKL

See your distribution documentation

  • Archlinux: yay -S intel-mkl openmp

Openblas

See your distribution documentation

  • Archlinux: pacman -S openblas

Build and run

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.

About

Benchmarks for investigating the BLASFEO unstable run-time issue


Languages

Language:C++ 88.1%Language:Makefile 11.9%