24 #ifndef SRC_RUNTIME_CL_GEMM_AUTO_HEURISTICS_CL_GEMM_AUTO_HEURISTICS_H 25 #define SRC_RUNTIME_CL_GEMM_AUTO_HEURISTICS_CL_GEMM_AUTO_HEURISTICS_H 35 namespace auto_heuristics
70 : valid{ valid }, lhs_info{ lhs_info }, rhs_info{ rhs_info }
137 #endif // SRC_RUNTIME_CL_GEMM_AUTO_HEURISTICS_CL_GEMM_AUTO_HEURISTICS_H
GEMMConfigResult select_default_gemm_config_reshaped(const CommonQuery &query)
Select gemm config based on default heuristics.
DataType data_type
Data type.
unsigned int b
Batch size.
CLGEMMKernelType gemm_type
If the result is valid.
A collection of adaptor functions that enable the auto selection between mlgo-based heuristics and de...
GEMMType gemm_type(TokenStream &in, bool &valid)
GEMM LHS (Left Hand Side) matrix information.
Result of querying about GEMM config ( GEMMLHSMatrixInfo and GEMMRHSMatrixInfo)
GEMMConfigResult select_mlgo_gemm_config_native(const CommonQuery &query)
Select gemm config based on mlgo heuristics.
CLGEMMKernelType
OpenCL GEMM kernel types.
GEMMTypeResult(bool valid, CLGEMMKernelType gemm_type)
Copyright (c) 2017-2021 Arm Limited.
GEMMLHSMatrixInfo lhs_info
If the result is valid.
GEMMConfigResult select_mlgo_gemm_config_reshaped(const CommonQuery &query)
Select gemm config based on mlgo heuristics.
GEMMConfigResult select_default_gemm_config_native(const CommonQuery &query)
Select gemm config based on default heuristics.
GEMMRHSMatrixInfo rhs_info
GEMMLHSMatrixInfo
GEMM RHS (Right Hand Side) matrix information.
GEMMTypeResult select_default_gemm_kernel(const CommonQuery &query, bool reshape_b_only_on_first_run)
Select gemm type based on default heuristics.
unsigned int k
Number of rows for the rhs matrix.
GPUTarget gpu_target
Which GPUTarget to query about.
GPUTarget
Available GPU Targets.
GEMMTypeResult select_mlgo_gemm_kernel(const CommonQuery &query, bool reshape_b_only_on_first_run)
Select gemm type based on mlgo heuristics.
unsigned int m
Number of rows for the lhs matrix.
GEMMConfigResult select_mlgo_gemm_config_reshaped_only_rhs(const CommonQuery &query)
Select gemm config based on mlgo heuristics.
unsigned int n
Number of columns for the rhs matrix.
DataType
Available data types.
Result of querying about GEMM type ( CLGEMMKernelType)
GEMMConfigResult select_default_gemm_config_reshaped_only_rhs(const CommonQuery &query)
Select gemm config based on default heuristics.
GEMMConfigResult(bool valid, const GEMMLHSMatrixInfo &lhs_info, const GEMMRHSMatrixInfo &rhs_info)