24.02.1
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_EXAMPLES_GEMM_TUNER_COMMON_GEMM_EXAMPLE_OPTIONS
25 #define ARM_COMPUTE_EXAMPLES_GEMM_TUNER_COMMON_GEMM_EXAMPLE_OPTIONS
55 ::std::ostream &
operator<<(::std::ostream &os,
const CommonGemmExampleParams &common_params);
Common command line options used to configure the gemm examples.
arm_compute::utils::EnumOption< arm_compute::CLTunerMode > * tuner_mode
OpenCL tuner mode.
arm_compute::utils::SimpleOption< size_t > * B
Batch size option.
constexpr auto default_data_type
size_t K
Number of lhs matrix columns/rhs matrix rows.
Structure holding all the common gemm example parameters.
::std::ostream & operator<<(::std::ostream &os, const CommonGemmExampleParams &common_params)
Formatted output of the CommonGemmExampleParams type.
Class to parse command line arguments.
arm_compute::DataType data_type
Data type.
Implementation of an option that can be either true or false.
@ RAPID
Searches a minimal subset of LWS configurations while tuning.
~CommonGemmExampleOptions()=default
Default destructor.
arm_compute::utils::SimpleOption< size_t > * K
Number of lhs matrix columns/rhs matrix rows option.
arm_compute::utils::ToggleOption * help
Show help option.
size_t N
Number of rhs matrix columns.
arm_compute::utils::EnumOption< arm_compute::DataType > * data_type
Data type.
arm_compute::utils::SimpleOption< size_t > * N
Number of rhs matrix columns option.
CLTunerMode
< OpenCL tuner modes
CommonGemmExampleParams consume_common_gemm_example_parameters(const CommonGemmExampleOptions &options)
Consumes the common gemm example options and creates a structure containing all information.
CommonGemmExampleOptions(arm_compute::utils::CommandLineParser &parser, arm_compute::DataType default_data_type=arm_compute::DataType::F32)
Constructor.
CommonGemmExampleOptions & operator=(const CommonGemmExampleOptions &)=delete
Prevent instances of this class from being copied (As this class contains pointers)
arm_compute::CLTunerMode tuner_mode
OpenCL tuner mode.
@ F32
32-bit floating-point number
arm_compute::utils::SimpleOption< size_t > * M
Number of lhs matrix rows option.
DataType
Available data types.
size_t M
Number of lhs matrix rows.