diff options
author | Marat Dukhan <maratek@google.com> | 2020-09-21 17:00:27 -0700 |
---|---|---|
committer | XNNPACK Team <xnnpack-github-robot@google.com> | 2020-09-21 17:00:58 -0700 |
commit | 80a8ac59849bfdae8d2e1409f5642baa502c0b9e (patch) | |
tree | 2c7f222fd4eb33aabf81fe34fb2b5a5e145fd66d /eval | |
parent | 9490613d1da6d21e7d03908800f9437a9375bfd0 (diff) | |
download | XNNPACK-80a8ac59849bfdae8d2e1409f5642baa502c0b9e.tar.gz |
AVX512F LUT-based with SCALEF Exp evaluation stubs
PiperOrigin-RevId: 332967630
Diffstat (limited to 'eval')
-rw-r--r-- | eval/f32-exp.cc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/eval/f32-exp.cc b/eval/f32-exp.cc index b61918032..dccb6912d 100644 --- a/eval/f32-exp.cc +++ b/eval/f32-exp.cc @@ -92,9 +92,15 @@ static void ExpError(benchmark::State& state, static void f32_exp__avx512f_lut16_p3_perm(benchmark::State& state) { ExpError(state, xnn_math_f32_exp__avx512f_lut16_p3_perm, 16); } + static void f32_exp__avx512f_lut16_p3_perm_scalef(benchmark::State& state) { + ExpError(state, xnn_math_f32_exp__avx512f_lut16_p3_perm_scalef, 16); + } static void f32_exp__avx512f_lut32_p2_perm2(benchmark::State& state) { ExpError(state, xnn_math_f32_exp__avx512f_lut32_p2_perm2, 16); } + static void f32_exp__avx512f_lut32_p2_perm2_scalef(benchmark::State& state) { + ExpError(state, xnn_math_f32_exp__avx512f_lut32_p2_perm2_scalef, 16); + } static void f32_exp__avx512f_p5(benchmark::State& state) { ExpError(state, xnn_math_f32_exp__avx512f_p5, 16); } @@ -109,7 +115,9 @@ static void ExpError(benchmark::State& state, BENCHMARK(f32_exp__avx2_lut8_p3_perm)->Unit(benchmark::kMillisecond)->Iterations(1); BENCHMARK(f32_exp__avx2_p5)->Unit(benchmark::kMillisecond)->Iterations(1); BENCHMARK(f32_exp__avx512f_lut16_p3_perm)->Unit(benchmark::kMillisecond)->Iterations(1); + BENCHMARK(f32_exp__avx512f_lut16_p3_perm_scalef)->Unit(benchmark::kMillisecond)->Iterations(1); BENCHMARK(f32_exp__avx512f_lut32_p2_perm2)->Unit(benchmark::kMillisecond)->Iterations(1); + BENCHMARK(f32_exp__avx512f_lut32_p2_perm2_scalef)->Unit(benchmark::kMillisecond)->Iterations(1); BENCHMARK(f32_exp__avx512f_p5)->Unit(benchmark::kMillisecond)->Iterations(1); BENCHMARK(f32_exp__avx512f_p5_scalef)->Unit(benchmark::kMillisecond)->Iterations(1); #endif // XNN_ARCH_X86 || XNN_ARCH_X86_64 |