Lines Matching full:benchmark
14 #include <benchmark/benchmark.h>
16 namespace benchmark {
38 void UnaryElementwiseParameters(benchmark::internal::Benchmark* benchmark) { in UnaryElementwiseParameters() argument
39 benchmark->ArgName("N"); in UnaryElementwiseParameters()
49 benchmark->Arg(characteristic_l1 / elementwise_size / 960 * 960); in UnaryElementwiseParameters()
50 benchmark->Arg(characteristic_l2 / elementwise_size / 960 * 960); in UnaryElementwiseParameters()
59 void BinaryElementwiseParameters(benchmark::internal::Benchmark* benchmark) { in BinaryElementwiseParameters() argument
60 benchmark->ArgName("N"); in BinaryElementwiseParameters()
70 benchmark->Arg(characteristic_l1 / elementwise_size / 960 * 960); in BinaryElementwiseParameters()
71 benchmark->Arg(characteristic_l2 / elementwise_size / 960 * 960); in BinaryElementwiseParameters()
75 void MultiThreadingParameters(benchmark::internal::Benchmark* benchmark);
77 typedef bool (*IsaCheckFunction)(benchmark::State& state);
80 // If VFP is unsupported, report error in benchmark state, and return false.
81 bool CheckVFP(benchmark::State& state);
84 // If ARMv6 extensions are unsupported, report error in benchmark state, and return false.
85 bool CheckARMV6(benchmark::State& state);
88 // If NEON is unsupported, report error in benchmark state, and return false.
89 bool CheckNEON(benchmark::State& state);
92 // If NEON-FP16 is unsupported, report error in benchmark state, and return false.
93 bool CheckNEONFP16(benchmark::State& state);
96 // If NEON-FMA is unsupported, report error in benchmark state, and return false.
97 bool CheckNEONFMA(benchmark::State& state);
100 // If ARMv8 NEON is unsupported, report error in benchmark state, and return false.
101 bool CheckNEONV8(benchmark::State& state);
104 // If NEON-FP16-ARITH is unsupported, report error in benchmark state, and return false.
105 bool CheckNEONFP16ARITH(benchmark::State& state);
108 // If NEON-BF16 is unsupported, report error in benchmark state, and return false.
109 bool CheckNEONBF16(benchmark::State& state);
112 // If DOT is unsupported, report error in benchmark state, and return false.
113 bool CheckNEONDOT(benchmark::State& state);
116 // If SSSE3 is unsupported, report error in benchmark state, and return false.
117 bool CheckSSSE3(benchmark::State& state);
120 // If SSE4.1 is unsupported, report error in benchmark state, and return false.
121 bool CheckSSE41(benchmark::State& state);
124 // If AVX is unsupported, report error in benchmark state, and return false.
125 bool CheckAVX(benchmark::State& state);
128 // If F16C is unsupported, report error in benchmark state, and return false.
129 bool CheckF16C(benchmark::State& state);
132 // If XOP is unsupported, report error in benchmark state, and return false.
133 bool CheckXOP(benchmark::State& state);
136 // If FMA3 is unsupported, report error in benchmark state, and return false.
137 bool CheckFMA3(benchmark::State& state);
140 // If AVX2 is unsupported, report error in benchmark state, and return false.
141 bool CheckAVX2(benchmark::State& state);
144 // If AVX512F is unsupported, report error in benchmark state, and return false.
145 bool CheckAVX512F(benchmark::State& state);
148 // If SKX-level AVX512 extensions are unsupported, report error in benchmark state, and return fals…
149 bool CheckAVX512SKX(benchmark::State& state);
176 } // namespace benchmark