| 23 | using Param = typename Opr::Param; |
| 24 | using BeforeExecCallback = std::function<void(Opr*, const TensorNDArray&)>; |
| 25 | Benchmarker( |
| 26 | KernelGen::Arch arch = KernelGen::Arch::BAREMETAL, const int dnn_level = 0) |
| 27 | : Runner<Opr>(arch, dnn_level), |
| 28 | m_has_set_dnn_param(false), |
| 29 | m_arch(arch), |
| 30 | m_kernel_symbol(".*") { |
| 31 | m_benchmark_option.disable_check = true; |
| 32 | m_benchmark_option.valid_megcc_performance = true; |
| 33 | m_benchmark_option.valid_dnn_performance = true; |
| 34 | }; |
| 35 | |
| 36 | TensorLayoutArray make_layouts(const TensorShapeArray& shapes); |
| 37 | PerformanceResultPair exec(const TensorShapeArray& shapes) { |
nothing calls this directly
no outgoing calls
no test coverage detected