Skip to content

Latest commit

 

History

History
31 lines (25 loc) · 1.49 KB

README.md

File metadata and controls

31 lines (25 loc) · 1.49 KB

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