21.02
|
Data Structures | |
class | BenchmarkResult |
class | GEMMBenchmarkResultRecorder |
class | GEMMConfigDistribution |
class | GEMMParam |
class | Measurement |
class | NativeGEMMConfig |
class | ReshapedGEMMConfig |
class | ReshapedOnlyRHSGEMMConfig |
Functions | |
def | parse_benchmark_commandline |
Functions. More... | |
def | extract_benchmark_results |
def | parse_json (dir_name) |
def | check_out_path (out_path) |
def | dump_json (out_path, dict) |
def | main (args) |
Main. More... | |
Variables | |
Strategy = Enum("Strategy", ["Native", "ReshapedOnlyRHS", "Reshaped"]) | |
Types. More... | |
GEMMConfigT | |
dictionary | GEMM_CONFIG_FACTORY |
dictionary | EXAMPLE_FILE_2_STRATEGY |
dictionary | GEMM_EXAMPLE_ARGS_FACTORY |
string | BENCHMARK_RESULT_JSON_EXTENSION = "gemmtuner_benchmark" |
parser = argparse.ArgumentParser(description="CL GEMM Tuner") | |
dest | |
metavar | |
action | |
type | |
help | |
required | |
default | |
args = parser.parse_args() | |
logging_level = logging.DEBUG if args.debug else logging.INFO | |
level | |
def GemmTuner.check_out_path | ( | out_path | ) |
Definition at line 566 of file GemmTuner.py.
References arm_compute::test::validation.input.
Referenced by GEMMBenchmarkResultRecorder.save_to_jsons().
def GemmTuner.dump_json | ( | out_path, | |
dict | |||
) |
Definition at line 582 of file GemmTuner.py.
Referenced by GEMMBenchmarkResultRecorder.save_to_jsons().
def GemmTuner.extract_benchmark_results | ( | json_results | ) |
Definition at line 489 of file GemmTuner.py.
References parse_benchmark_commandline(), and sum().
Referenced by main(), and parse_benchmark_commandline().
def GemmTuner.main | ( | args | ) |
Main.
Definition at line 593 of file GemmTuner.py.
References extract_benchmark_results(), and parse_json().
def GemmTuner.parse_benchmark_commandline | ( | commandline | ) |
Functions.
Definition at line 468 of file GemmTuner.py.
References extract_benchmark_results(), and arm_compute::utils.map().
Referenced by extract_benchmark_results().
def GemmTuner.parse_json | ( | dir_name | ) |
Glob all benchmark result json files and parse them into json objects (dicts).
Definition at line 558 of file GemmTuner.py.
Referenced by main().
action |
Definition at line 646 of file GemmTuner.py.
args = parser.parse_args() |
Definition at line 679 of file GemmTuner.py.
Referenced by arm_conv::pooling.a64_fp32_nhwc_avg_3x3_s1_output2x2_depthfirst_impl(), arm_conv::pooling.a64_fp32_nhwc_max_2x2_s1_output2x2_depthfirst_impl(), arm_conv::pooling.a64_s8_nhwc_max_2x2_s1_output2x2_depthfirst_impl(), arm_conv::pooling.a64_u8_nhwc_max_2x2_s1_output2x2_depthfirst_impl(), Graph.add_node(), CommandLineParser.add_option(), CommandLineParser.add_positional_option(), CLSynthetizeFunction< CLGEMMMatrixMultiplyReshapedOnlyRHSKernel >.configure(), NESynthetizeFunction< K >.configure(), CLSynthetizeFunctionWithZeroConstantBorder< K, bordersize >.configure(), NESynthetizeFunctionWithZeroConstantBorder< K, bordersize >.configure(), CLSynthetizeFunctionInitOutputWithZeroAndWithZeroConstantBorder< K, bordersize >.configure(), NESynthetizeFunctionWithZeroConstantKernelBorder< K >.configure(), arm_compute::graph::backends.create_named_function(), arm_compute::graph::backends.create_named_memory_managed_function(), arm_compute::utility.for_each(), arm_compute::detail.for_each_error(), arm_gemm.gemm_implementation_list< bfloat16, float >(), arm_gemm.gemm_implementation_list< float, float >(), GemmImplementation< Top, Tret, OutputStage >.GemmImplementation(), GemmImplementation< Top, Tret, Nothing >.GemmImplementation(), GemvBatched< To, Tr >.GemvBatched(), CpuPoolingAssemblyWrapperKernel.is_configured(), Logger.log(), arm_compute.operator<<(), arm_conv::pooling.pooling(), arm_compute::support::cpp11.snprintf(), arm_compute::support::cpp11.stof(), arm_compute::logging.string_with_format(), arm_compute.to_string(), CLSynthetizeFunction< CLGEMMMatrixMultiplyReshapedOnlyRHSKernel >.validate(), and NESynthetizeFunction< K >.validate().
string BENCHMARK_RESULT_JSON_EXTENSION = "gemmtuner_benchmark" |
Definition at line 461 of file GemmTuner.py.
default |
Definition at line 668 of file GemmTuner.py.
dest |
Definition at line 644 of file GemmTuner.py.
dictionary EXAMPLE_FILE_2_STRATEGY |
Definition at line 434 of file GemmTuner.py.
dictionary GEMM_CONFIG_FACTORY |
Definition at line 426 of file GemmTuner.py.
dictionary GEMM_EXAMPLE_ARGS_FACTORY |
Definition at line 450 of file GemmTuner.py.
GEMMConfigT |
Definition at line 189 of file GemmTuner.py.
help |
Definition at line 648 of file GemmTuner.py.
Referenced by CommonGraphValidateOptions.CommonGraphValidateOptions(), and CommonGraphValidateOptions.consume_common_parameters().
level |
Definition at line 681 of file GemmTuner.py.
Referenced by NELKTrackerKernel.name(), arm_compute::test::validation::reference.optical_flow(), NEOpticalFlow.run(), CLOpticalFlow.run(), and arm_compute::test::framework.to_string().
logging_level = logging.DEBUG if args.debug else logging.INFO |
Definition at line 680 of file GemmTuner.py.
metavar |
Definition at line 645 of file GemmTuner.py.
parser = argparse.ArgumentParser(description="CL GEMM Tuner") |
Definition at line 640 of file GemmTuner.py.
Referenced by CommonGraphValidateOptions.CommonGraphValidateOptions(), GraphValidateExample< DepthwiseConvolutionLayer, DepthConvolutionOptions, DepthConvolutionVerifyAccessor >.do_setup(), main(), arm_compute::utils.run_example(), and arm_compute::mlgo.to_string().
required |
Definition at line 652 of file GemmTuner.py.
Strategy = Enum("Strategy", ["Native", "ReshapedOnlyRHS", "Reshaped"]) |
Types.
Definition at line 41 of file GemmTuner.py.
type |
Definition at line 647 of file GemmTuner.py.