Home
last modified time | relevance | path

Searched refs:bytes_per_iteration (Results 1 – 24 of 24) sorted by relevance

/external/XNNPACK/bench/
Df32-softmax.cc174 const size_t bytes_per_iteration = 2 * elements * sizeof(float); in DNNLSoftArgMax() local
176 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in DNNLSoftArgMax()
237 const size_t bytes_per_iteration = 2 * elements * sizeof(float); in ThreePassSoftMaxWithRecomputing() local
239 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in ThreePassSoftMaxWithRecomputing()
299 const size_t bytes_per_iteration = 2 * elements * sizeof(float); in ThreePassSoftMaxWithReloading() local
301 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in ThreePassSoftMaxWithReloading()
358 const size_t bytes_per_iteration = 2 * elements * sizeof(float); in TwoPassSoftMax() local
360 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in TwoPassSoftMax()
Dsoftmax.cc90 const size_t bytes_per_iteration = 2 * elements_per_iteration * sizeof(uint8_t); in xnnpack_softmax_qu8() local
92 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in xnnpack_softmax_qu8()
156 const size_t bytes_per_iteration = 2 * elements_per_iteration * sizeof(float); in xnnpack_softmax_f32() local
158 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in xnnpack_softmax_f32()
273 const size_t bytes_per_iteration = 2 * elements_per_iteration * sizeof(float); in tflite_softmax_f32() local
275 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in tflite_softmax_f32()
Dsigmoid.cc97 const size_t bytes_per_iteration = 2 * elements_per_iteration * sizeof(uint8_t); in xnnpack_sigmoid_qu8() local
99 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in xnnpack_sigmoid_qu8()
164 const size_t bytes_per_iteration = 2 * elements_per_iteration * sizeof(float); in xnnpack_sigmoid_f32() local
166 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in xnnpack_sigmoid_f32()
274 const size_t bytes_per_iteration = 2 * elements_per_iteration * sizeof(float); in tflite_sigmoid_f32() local
276 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in tflite_sigmoid_f32()
Dhardswish.cc91 const size_t bytes_per_iteration = 2 * elements_per_iteration * sizeof(float); in xnnpack_hardswish_f32() local
93 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in xnnpack_hardswish_f32()
201 const size_t bytes_per_iteration = 2 * elements_per_iteration * sizeof(float); in tflite_hardswish_f32() local
203 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in tflite_hardswish_f32()
272 const size_t bytes_per_iteration = 2 * elements_per_iteration * sizeof(uint16_t); in xnnpack_hardswish_f16() local
274 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in xnnpack_hardswish_f16()
Dbankers-rounding.cc89 const size_t bytes_per_iteration = 2 * elements_per_iteration * sizeof(float); in xnnpack_bankers_rounding_f32() local
91 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in xnnpack_bankers_rounding_f32()
199 const size_t bytes_per_iteration = 2 * elements_per_iteration * sizeof(float); in tflite_bankers_rounding_f32() local
201 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in tflite_bankers_rounding_f32()
Delu.cc89 const size_t bytes_per_iteration = 2 * elements_per_iteration * sizeof(float); in xnnpack_elu_f32() local
91 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in xnnpack_elu_f32()
199 const size_t bytes_per_iteration = 2 * elements_per_iteration * sizeof(float); in tflite_elu_f32() local
201 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in tflite_elu_f32()
Dceiling.cc89 const size_t bytes_per_iteration = 2 * elements_per_iteration * sizeof(float); in xnnpack_ceiling_f32() local
91 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in xnnpack_ceiling_f32()
199 const size_t bytes_per_iteration = 2 * elements_per_iteration * sizeof(float); in tflite_ceiling_f32() local
201 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in tflite_ceiling_f32()
Dsquare-root.cc89 const size_t bytes_per_iteration = 2 * elements_per_iteration * sizeof(float); in xnnpack_square_root_f32() local
91 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in xnnpack_square_root_f32()
199 const size_t bytes_per_iteration = 2 * elements_per_iteration * sizeof(float); in tflite_square_root_f32() local
201 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in tflite_square_root_f32()
Dfloor.cc89 const size_t bytes_per_iteration = 2 * elements_per_iteration * sizeof(float); in xnnpack_floor_f32() local
91 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in xnnpack_floor_f32()
199 const size_t bytes_per_iteration = 2 * elements_per_iteration * sizeof(float); in tflite_floor_f32() local
201 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in tflite_floor_f32()
Df16-relu.cc55 const size_t bytes_per_iteration = 2 * elements * sizeof(uint16_t); in f16_relu() local
57 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in f16_relu()
Df32-rmax.cc52 const size_t bytes_per_iteration = elements * sizeof(float); in f32_rmax() local
54 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in f32_rmax()
Dprelu.cc94 const size_t bytes_per_iteration = (2 * elements_per_iteration + channels) * sizeof(float); in xnnpack_prelu_f32() local
96 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in xnnpack_prelu_f32()
222 const size_t bytes_per_iteration = (2 * elements_per_iteration + channels) * sizeof(float); in tflite_prelu_f32() local
224 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in tflite_prelu_f32()
Dchannel-shuffle.cc85 const size_t bytes_per_iteration = 2 * elements_per_iteration * sizeof(uint8_t); in channel_shuffle_x8() local
87 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in channel_shuffle_x8()
153 const size_t bytes_per_iteration = 2 * elements_per_iteration * sizeof(float); in channel_shuffle_x32() local
155 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in channel_shuffle_x32()
Dtruncation.cc80 const size_t bytes_per_iteration = 2 * elements_per_iteration * sizeof(float); in xnnpack_truncation_f32() local
82 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in xnnpack_truncation_f32()
Df32-hswish.cc55 const size_t bytes_per_iteration = 2 * elements * sizeof(float); in f32_hswish() local
57 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in f32_hswish()
Df32-relu.cc53 const size_t bytes_per_iteration = 2 * elements * sizeof(float); in f32_relu() local
55 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in f32_relu()
Df32-raddextexp.cc64 const size_t bytes_per_iteration = 2 * elements * sizeof(float); in f32_raddextexp() local
66 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in f32_raddextexp()
Df32-raddexpminusmax.cc70 const size_t bytes_per_iteration = 2 * elements * sizeof(float); in f32_raddexpminusmax() local
72 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in f32_raddexpminusmax()
Df32-vscaleextexp.cc70 const size_t bytes_per_iteration = 2 * elements * sizeof(float); in f32_vscaleextexp() local
72 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in f32_vscaleextexp()
Df32-vscaleexpminusmax.cc72 const size_t bytes_per_iteration = 2 * elements * sizeof(float); in f32_vscaleexpminusmax() local
74 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in f32_vscaleexpminusmax()
Df32-vsqrt.cc55 const size_t bytes_per_iteration = 2 * elements * sizeof(float); in f32_vsqrt() local
57 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in f32_vsqrt()
Df32-raddstoreexpminusmax.cc71 const size_t bytes_per_iteration = 2 * elements * sizeof(float); in f32_raddstoreexpminusmax() local
73 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in f32_raddstoreexpminusmax()
Df32-velu.cc57 const size_t bytes_per_iteration = 2 * elements * sizeof(float); in f32_elu() local
59 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in f32_elu()
Df32-sigmoid.cc53 const size_t bytes_per_iteration = 2 * elements * sizeof(float); in f32_sigmoid() local
55 …benchmark::Counter(uint64_t(state.iterations()) * bytes_per_iteration, benchmark::Counter::kIsRate… in f32_sigmoid()