Skip to content

XapaJIaMnu/gemmBench

Repository files navigation

gemmBench

int8_t gemm benchmark between Eigen, kpu's intgemm, dnnl, fbgemm, and mkl.

Compilation

mkdir build
cd build
cmake -DWITH_MKL=OFF ..
make -j

If you have Intel MKL installed on your system, you can set -DWITH_MKL=ON during the CMake configuration.

Usage

./benchmark [iterations=1000] [arch=any] [use_eigen=0]

Changing parameters

Some paramters are hardcoded

Caveats

  • Fbgemm only supports AVX2 processors or newer, so the test is skipped on older architectures.
  • Fbgemm doesn't allow for limiting the arch type, so the test is skipped in case explicit arch is requested

About

int8_t gemm benchmark between a few frameworks.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published