diff options
Diffstat (limited to 'benchmarks/biasmultiply.cc')
-rw-r--r-- | benchmarks/biasmultiply.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/benchmarks/biasmultiply.cc b/benchmarks/biasmultiply.cc index 490bf3b..65deadb 100644 --- a/benchmarks/biasmultiply.cc +++ b/benchmarks/biasmultiply.cc @@ -161,6 +161,7 @@ int main(int argc, char ** argv) { std::cout << repeat << " iterations of Shifted SSSE3 took: " << newTimeSSSE3.count() << " seconds." << std::endl; +#ifdef INTGEMM_COMPILER_SUPPORTS_AVX2 std::chrono::duration<double> oldAVX2_nobias = testOld_nobias<avx2::Kernels8>(1, 64, 8); for (int i = 0; i<repeat; i++) { oldAVX2_nobias += testOld_nobias<avx2::Kernels8>(8, 256, 256); @@ -196,6 +197,7 @@ int main(int argc, char ** argv) { } std::cout << repeat << " iterations of Shifted AVX2 took: " << newTimeAVX2.count() << " seconds." << std::endl; +#endif #ifdef INTGEMM_COMPILER_SUPPORTS_AVX512BW if (kCPU < CPUType::AVX512BW) return 0; std::chrono::duration<double> oldAVX512_nobias = testOld_nobias<avx512bw::Kernels8>(1, 64, 8); |