Home
last modified time | relevance | path

Searched refs:best_result (Results 1 – 14 of 14) sorted by relevance

/external/skqp/tools/skpbench/
Dskpbench.py181 def __init__(self, src, config, max_stddev, best_result=None): argument
185 self.best_result = best_result
248 if not self.best_result or result.stddev <= self.best_result.stddev:
249 self.best_result = result
253 (result.config, result.bench, self.best_result.stddev,
255 if self.max_stddev and self.best_result.stddev > self.max_stddev:
289 if skpbench.best_result:
290 emit_result(skpbench.best_result.format(FLAGS.suffix),
301 (skpbench.best_result.config, skpbench.best_result.bench,
302 skpbench.best_result.stddev, skpbench.max_stddev,
[all …]
/external/skia/tools/skpbench/
Dskpbench.py181 def __init__(self, src, config, max_stddev, best_result=None): argument
185 self.best_result = best_result
248 if not self.best_result or result.stddev <= self.best_result.stddev:
249 self.best_result = result
253 (result.config, result.bench, self.best_result.stddev,
255 if self.max_stddev and self.best_result.stddev > self.max_stddev:
289 if skpbench.best_result:
290 emit_result(skpbench.best_result.format(FLAGS.suffix),
301 (skpbench.best_result.config, skpbench.best_result.bench,
302 skpbench.best_result.stddev, skpbench.max_stddev,
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dgpu_utils.cc114 const AutotuneResult* best_result = std::min_element( in BestCudnnConvAlgorithm() local
136 if (best_result == results.end() || !best_result->has_success()) { in BestCudnnConvAlgorithm()
139 algo->set_algorithm({best_result->conv().algorithm(), in BestCudnnConvAlgorithm()
140 best_result->conv().tensor_ops_enabled()}); in BestCudnnConvAlgorithm()
Dmatmul_op.cc297 ProfileResult best_result; in launch() local
319 best_result.elapsed_time_in_ms()) { in launch()
320 best_result = profile_result; in launch()
336 best_result.elapsed_time_in_ms()) { in launch()
337 best_result = profile_result; in launch()
348 best_result.elapsed_time_in_ms()) { in launch()
349 best_result = profile_result; in launch()
359 if (best_result.is_valid()) { in launch()
360 algorithm_config.set_algorithm(best_result.algorithm()); in launch()
Dbias_op.cc566 BiasGradGPUProfileResult best_result; in Compute() local
577 if (elapsed_microseconds < best_result.elapsed_time()) { in Compute()
578 best_result.set_algorithm(BiasAddGradGPUMode::kNative); in Compute()
579 best_result.set_elapsed_time(elapsed_microseconds); in Compute()
591 if (elapsed_microseconds < best_result.elapsed_time()) { in Compute()
592 best_result.set_algorithm(BiasAddGradGPUMode::kReduction); in Compute()
593 best_result.set_elapsed_time(elapsed_microseconds); in Compute()
596 algo_config.set_mode(best_result.algorithm()); in Compute()
Dconv_grad_ops_3d.cc1365 ProfileResult best_result; in Compute() local
1383 best_result.elapsed_time_in_ms()) { in Compute()
1384 best_result = profile_result; in Compute()
1395 best_result.is_valid() || best_result_no_scratch.is_valid(), in Compute()
1397 if (best_result.is_valid()) { in Compute()
1398 algorithm_config.set_algorithm(best_result.algorithm()); in Compute()
1771 ProfileResult best_result; in Compute() local
1790 best_result.elapsed_time_in_ms()) { in Compute()
1791 best_result = profile_result; in Compute()
1802 best_result.is_valid() || best_result_no_scratch.is_valid(), in Compute()
[all …]
Dcudnn_rnn_ops.cc1511 ProfileResult best_result; in MaybeAutoTune() local
1568 if (total_time < best_result.elapsed_time_in_ms()) { in MaybeAutoTune()
1569 best_result.set_elapsed_time_in_ms(total_time); in MaybeAutoTune()
1570 best_result.set_algorithm(algo); in MaybeAutoTune()
1574 if (!best_result.is_valid()) { in MaybeAutoTune()
1577 algo_config->set_algorithm(best_result.algorithm()); in MaybeAutoTune()
1579 << best_result.algorithm().algo_id() << ", " in MaybeAutoTune()
1580 << best_result.algorithm().tensor_ops_enabled() << ")."; in MaybeAutoTune()
/external/tensorflow/tensorflow/compiler/xla/service/gpu/
Dgemm_thunk.cc164 se::blas::ProfileResult best_result; in DoGemmAutotune() local
179 best_result.elapsed_time_in_ms()) { in DoGemmAutotune()
180 best_result = profile_result; in DoGemmAutotune()
187 if (best_result.is_valid()) { in DoGemmAutotune()
188 return best_result.algorithm(); in DoGemmAutotune()
Dcudnn_conv_algorithm_picker.cc332 const AutotuneResult* best_result = std::min_element( in PickBestAlgorithm() local
348 if (best_result != profile_results_end && best_result->has_success()) { in PickBestAlgorithm()
349 return *best_result; in PickBestAlgorithm()
/external/toolchain-utils/bestflags/
Dtesting_batch.py277 def _TestAlgorithm(cost_func, specs, generations, best_result): argument
328 if best_result != -1:
329 assert best_result == result
/external/skia/tools/skqp/
Dfind_commit_with_best_gold_results.py91 best_result = max(r for h, r in results)
93 if r == best_result:
/external/python/cpython2/Modules/
Daudioop.c519 double sum_ri_2, sum_aij_2, sum_aij_ri, result, best_result, factor; in audioop_findfit() local
545 best_result = result; in audioop_findfit()
558 if ( result < best_result ) { in audioop_findfit()
559 best_result = result; in audioop_findfit()
612 double result, best_result; in audioop_findmax() local
630 best_result = result; in audioop_findmax()
639 if ( result > best_result ) { in audioop_findmax()
640 best_result = result; in audioop_findmax()
/external/python/cpython3/Modules/
Daudioop.c614 double sum_ri_2, sum_aij_2, sum_aij_ri, result, best_result, factor; in audioop_findfit_impl() local
635 best_result = result; in audioop_findfit_impl()
648 if ( result < best_result ) { in audioop_findfit_impl()
649 best_result = result; in audioop_findfit_impl()
725 double result, best_result; in audioop_findmax_impl() local
741 best_result = result; in audioop_findmax_impl()
750 if ( result > best_result ) { in audioop_findmax_impl()
751 best_result = result; in audioop_findmax_impl()
/external/tensorflow/tensorflow/contrib/fused_conv/kernels/
Dfused_conv2d_bias_activation_op.cc347 const AutotuneResult* best_result = std::min_element( in BestCudnnConvAlgorithm() local
369 if (best_result == results.end() || !best_result->has_success()) { in BestCudnnConvAlgorithm()
372 algo->set_algorithm({best_result->conv().algorithm(), in BestCudnnConvAlgorithm()
373 best_result->conv().tensor_ops_enabled()}); in BestCudnnConvAlgorithm()