24.02.1
|
Data Structures | |
struct | CommonQuery |
A collection of adaptor functions that enable the auto selection between mlgo-based heuristics and default heuristics. More... | |
struct | GEMMConfigResult |
Result of querying about GEMM config ( GEMMLHSMatrixInfo and GEMMRHSMatrixInfo) More... | |
struct | GEMMTypeResult |
Result of querying about GEMM type ( CLGEMMKernelType) More... | |
Functions | |
GEMMTypeResult | select_mlgo_gemm_kernel (const CommonQuery &query, bool reshape_b_only_on_first_run) |
Select gemm type based on mlgo heuristics. More... | |
GEMMTypeResult | select_default_gemm_kernel (const CommonQuery &query, bool reshape_b_only_on_first_run) |
Select gemm type based on default heuristics. More... | |
GEMMConfigResult | select_default_gemm_config_reshaped_only_rhs (const CommonQuery &query) |
Select gemm config based on default heuristics. More... | |
GEMMConfigResult | select_mlgo_gemm_config_reshaped_only_rhs (const CommonQuery &query) |
Select gemm config based on mlgo heuristics. More... | |
GEMMConfigResult | select_default_gemm_config_reshaped (const CommonQuery &query) |
Select gemm config based on default heuristics. More... | |
GEMMConfigResult | select_mlgo_gemm_config_reshaped (const CommonQuery &query) |
Select gemm config based on mlgo heuristics. More... | |
GEMMConfigResult | select_default_gemm_config_native (const CommonQuery &query) |
Select gemm config based on default heuristics. More... | |
GEMMConfigResult | select_mlgo_gemm_config_native (const CommonQuery &query) |
Select gemm config based on mlgo heuristics. More... | |
GEMMConfigResult select_default_gemm_config_native | ( | const CommonQuery & | query | ) |
Select gemm config based on default heuristics.
query | Query |
Definition at line 166 of file CLGEMMAutoHeuristics.cpp.
References ARM_COMPUTE_ERROR_ON_NULLPTR, CommonQuery::b, ClGemmNativeKernelConfigurationFactory::create(), CommonQuery::data_type, CommonQuery::gpu_target, CommonQuery::k, CommonQuery::m, and CommonQuery::n.
Referenced by ClGemmLowpMatrixMultiplyCore::validate().
GEMMConfigResult select_default_gemm_config_reshaped | ( | const CommonQuery & | query | ) |
Select gemm config based on default heuristics.
query | Query |
Definition at line 128 of file CLGEMMAutoHeuristics.cpp.
References ARM_COMPUTE_ERROR_ON_NULLPTR, CommonQuery::b, ClGemmReshapedKernelConfigurationFactory::create(), CommonQuery::data_type, CommonQuery::gpu_target, CommonQuery::k, CommonQuery::m, and CommonQuery::n.
GEMMConfigResult select_default_gemm_config_reshaped_only_rhs | ( | const CommonQuery & | query | ) |
Select gemm config based on default heuristics.
query | Query |
Definition at line 89 of file CLGEMMAutoHeuristics.cpp.
References ARM_COMPUTE_ERROR_ON_NULLPTR, CommonQuery::b, ClGemmReshapedOnlyRhsKernelConfigurationFactory::create(), CommonQuery::data_type, CommonQuery::gpu_target, CommonQuery::k, CommonQuery::m, and CommonQuery::n.
Referenced by ClGemmLowpMatrixMultiplyCore::validate().
GEMMTypeResult select_default_gemm_kernel | ( | const CommonQuery & | query, |
bool | reshape_b_only_on_first_run | ||
) |
Select gemm type based on default heuristics.
query | Query |
reshape_b_only_on_first_run | Additional query parameter if reshape b only on first run |
Definition at line 72 of file CLGEMMAutoHeuristics.cpp.
References ARM_COMPUTE_ERROR_ON_NULLPTR, CommonQuery::b, CLGEMMKernelSelectionParams::b, CLGEMMKernelSelectionFactory::create(), CommonQuery::data_type, CLGEMMKernelSelectionParams::data_type, CommonQuery::gpu_target, CLGEMMKernelSelectionParams::is_rhs_constant, CommonQuery::k, CLGEMMKernelSelectionParams::k, CommonQuery::m, CLGEMMKernelSelectionParams::m, CommonQuery::n, and CLGEMMKernelSelectionParams::n.
GEMMConfigResult select_mlgo_gemm_config_native | ( | const CommonQuery & | query | ) |
Select gemm config based on mlgo heuristics.
query | Query |
Definition at line 176 of file CLGEMMAutoHeuristics.cpp.
References ARM_COMPUTE_LOG_INFO_MSG_CORE, ARM_COMPUTE_LOG_INFO_MSG_WITH_FORMAT_CORE, CommonQuery::b, arm_compute::opencl::kernels::gemm::configure_lhs_rhs_info(), CommonQuery::data_type, CLScheduler::gemm_heuristics(), CLScheduler::get(), CLGEMMHeuristicsHandle::get(), CommonQuery::gpu_target, CommonQuery::k, CommonQuery::m, CommonQuery::n, MLGOHeuristics::query_gemm_config_native(), arm_compute::string_from_target(), and arm_compute::to_string().
GEMMConfigResult select_mlgo_gemm_config_reshaped | ( | const CommonQuery & | query | ) |
Select gemm config based on mlgo heuristics.
query | Query |
Definition at line 139 of file CLGEMMAutoHeuristics.cpp.
References ARM_COMPUTE_LOG_INFO_MSG_CORE, ARM_COMPUTE_LOG_INFO_MSG_WITH_FORMAT_CORE, CommonQuery::b, arm_compute::opencl::kernels::gemm::configure_lhs_rhs_info(), CommonQuery::data_type, CLScheduler::gemm_heuristics(), CLScheduler::get(), CLGEMMHeuristicsHandle::get(), CommonQuery::gpu_target, CommonQuery::k, CommonQuery::m, CommonQuery::n, MLGOHeuristics::query_gemm_config_reshaped(), arm_compute::string_from_target(), and arm_compute::to_string().
GEMMConfigResult select_mlgo_gemm_config_reshaped_only_rhs | ( | const CommonQuery & | query | ) |
Select gemm config based on mlgo heuristics.
query | Query |
Definition at line 100 of file CLGEMMAutoHeuristics.cpp.
References ARM_COMPUTE_LOG_INFO_MSG_CORE, ARM_COMPUTE_LOG_INFO_MSG_WITH_FORMAT_CORE, CommonQuery::b, arm_compute::opencl::kernels::gemm::configure_lhs_rhs_info(), CommonQuery::data_type, CLScheduler::gemm_heuristics(), CLScheduler::get(), CLGEMMHeuristicsHandle::get(), CommonQuery::gpu_target, CommonQuery::k, CommonQuery::m, CommonQuery::n, MLGOHeuristics::query_gemm_config_reshaped_only_rhs(), arm_compute::string_from_target(), and arm_compute::to_string().
GEMMTypeResult select_mlgo_gemm_kernel | ( | const CommonQuery & | query, |
bool | reshape_b_only_on_first_run | ||
) |
Select gemm type based on mlgo heuristics.
query | Query |
reshape_b_only_on_first_run | Additional query parameter if reshape b only on first run |
Definition at line 49 of file CLGEMMAutoHeuristics.cpp.
References ARM_COMPUTE_LOG_INFO_MSG_CORE, ARM_COMPUTE_LOG_INFO_MSG_WITH_FORMAT_CORE, ARM_COMPUTE_UNUSED, CommonQuery::b, CommonQuery::data_type, CLScheduler::gemm_heuristics(), arm_compute::mlgo::parser::gemm_type(), CLScheduler::get(), CLGEMMHeuristicsHandle::get(), CommonQuery::gpu_target, CommonQuery::k, CommonQuery::m, CommonQuery::n, MLGOHeuristics::query_gemm_type(), arm_compute::string_from_target(), and arm_compute::to_string().