• Home
  • Raw
  • Download

Lines Matching full:benchmark

1 #include <benchmark/benchmark.h>
45 static void fp16_ieee_to_fp32_bits(benchmark::State& state) { in fp16_ieee_to_fp32_bits()
51 benchmark::DoNotOptimize(fp32); in fp16_ieee_to_fp32_bits()
54 BENCHMARK(fp16_ieee_to_fp32_bits);
56 static void fp16_ieee_to_fp32_value(benchmark::State& state) { in fp16_ieee_to_fp32_value()
62 benchmark::DoNotOptimize(fp32); in fp16_ieee_to_fp32_value()
65 BENCHMARK(fp16_ieee_to_fp32_value);
68 static void fp16_ieee_to_fp32_psimd(benchmark::State& state) { in fp16_ieee_to_fp32_psimd()
74 benchmark::DoNotOptimize(fp32); in fp16_ieee_to_fp32_psimd()
77 BENCHMARK(fp16_ieee_to_fp32_psimd);
79 static void fp16_ieee_to_fp32x2_psimd(benchmark::State& state) { in fp16_ieee_to_fp32x2_psimd()
86 benchmark::DoNotOptimize(fp32); in fp16_ieee_to_fp32x2_psimd()
89 BENCHMARK(fp16_ieee_to_fp32x2_psimd);
93 static void TH_halfbits2float(benchmark::State& state) { in TH_halfbits2float()
100 benchmark::DoNotOptimize(fp32); in TH_halfbits2float()
103 BENCHMARK(TH_halfbits2float);
105 static void npy_halfbits_to_floatbits(benchmark::State& state) { in npy_halfbits_to_floatbits()
111 benchmark::DoNotOptimize(fp32); in npy_halfbits_to_floatbits()
114 BENCHMARK(npy_halfbits_to_floatbits);
116 static void Eigen_half_to_float(benchmark::State& state) { in Eigen_half_to_float()
124 benchmark::DoNotOptimize(fp32); in Eigen_half_to_float()
127 BENCHMARK(Eigen_half_to_float);
129 static void Float16Compressor_decompress(benchmark::State& state) { in Float16Compressor_decompress()
135 benchmark::DoNotOptimize(fp32); in Float16Compressor_decompress()
138 BENCHMARK(Float16Compressor_decompress);
140 static void half_float_detail_half2float_table(benchmark::State& state) { in half_float_detail_half2float_table()
148 benchmark::DoNotOptimize(fp32); in half_float_detail_half2float_table()
151 BENCHMARK(half_float_detail_half2float_table);
153 static void half_float_detail_half2float_branch(benchmark::State& state) { in half_float_detail_half2float_branch()
161 benchmark::DoNotOptimize(fp32); in half_float_detail_half2float_branch()
164 BENCHMARK(half_float_detail_half2float_branch);
169 static void fp16_ieee_from_fp32_value(benchmark::State& state) { in fp16_ieee_from_fp32_value()
175 benchmark::DoNotOptimize(fp16); in fp16_ieee_from_fp32_value()
178 BENCHMARK(fp16_ieee_from_fp32_value);
181 static void fp16_ieee_from_fp32_hardware(benchmark::State& state) { in fp16_ieee_from_fp32_hardware()
188 benchmark::DoNotOptimize(fp16); in fp16_ieee_from_fp32_hardware()
191 BENCHMARK(fp16_ieee_from_fp32_hardware);
195 static void TH_float2halfbits(benchmark::State& state) { in TH_float2halfbits()
203 benchmark::DoNotOptimize(fp16); in TH_float2halfbits()
206 BENCHMARK(TH_float2halfbits);
208 static void npy_floatbits_to_halfbits(benchmark::State& state) { in npy_floatbits_to_halfbits()
214 benchmark::DoNotOptimize(fp16); in npy_floatbits_to_halfbits()
217 BENCHMARK(npy_floatbits_to_halfbits);
219 static void Eigen_float_to_half_rtne(benchmark::State& state) { in Eigen_float_to_half_rtne()
227 benchmark::DoNotOptimize(fp16); in Eigen_float_to_half_rtne()
230 BENCHMARK(Eigen_float_to_half_rtne);
232 static void Float16Compressor_compress(benchmark::State& state) { in Float16Compressor_compress()
238 benchmark::DoNotOptimize(fp16); in Float16Compressor_compress()
241 BENCHMARK(Float16Compressor_compress);
243 static void half_float_detail_float2half_table(benchmark::State& state) { in half_float_detail_float2half_table()
252 benchmark::DoNotOptimize(fp16); in half_float_detail_float2half_table()
255 BENCHMARK(half_float_detail_float2half_table);
257 static void half_float_detail_float2half_branch(benchmark::State& state) { in half_float_detail_float2half_branch()
266 benchmark::DoNotOptimize(fp16); in half_float_detail_float2half_branch()
269 BENCHMARK(half_float_detail_float2half_branch);