24.02.1
|
Go to the documentation of this file.
49 using ConfigurationFunctionExecutorPtr = std::pair<GEMMLHSMatrixInfo, GEMMRHSMatrixInfo> (
53 &ClGemmDefaultConfigNativeMidgard::default_q8);
57 return (this->*func)(m, n, k,
b);
60 std::pair<GEMMLHSMatrixInfo, GEMMRHSMatrixInfo>
61 ClGemmDefaultConfigNativeMidgard::default_q8(
unsigned int m,
unsigned int n,
unsigned int k,
unsigned int b)
66 const unsigned int m0 = std::min(m,
static_cast<unsigned int>(4));
67 const unsigned int n0 = std::min(n,
static_cast<unsigned int>(4));
69 return configure_lhs_rhs_info(m, n, m0, n0, 2, 1, 1,
false,
false,
false,
false);
std::pair< GEMMLHSMatrixInfo, GEMMRHSMatrixInfo > configure_lhs_rhs_info(unsigned int m, unsigned int n, unsigned int m0, unsigned int n0, unsigned int k0, unsigned int v0, unsigned int h0, bool lhs_interleave, bool rhs_interleave, bool lhs_transpose, bool rhs_transpose, bool export_to_cl_image)
Configure GEMMLHSMatrixInfo and GEMMRHSMatrixInfo.
Midgard based OpenCL GEMMNative configuration.
UniqueGemmCommon< Top, Tret > gemm(const GemmArgs &args, const OutputStage &os)
Basic interface for the GEMM kernel configuration.
Manages all the OpenCL kernels compilation and caching, provides accessors for the OpenCL Context.
#define ARM_COMPUTE_ERROR_ON_MSG(cond, msg)
Basic container for the OpenCL GEMM configuration functions.
ClGemmDefaultConfigNativeMidgard(GPUTarget gpu)
Constructor.
#define ARM_COMPUTE_UNUSED(...)
To avoid unused variables warnings.
std::pair< GEMMLHSMatrixInfo, GEMMRHSMatrixInfo > configure(unsigned int m, unsigned int n, unsigned int k, unsigned int b, DataType data_type) override
Given M, N, K and B, this method returns the GEMMLHSMatrixInfo and GEMMRHSMatrixInfo to be used.
GPUTarget
Available GPU Targets.
Copyright (c) 2017-2024 Arm Limited.
DataType
Available data types.
T get_function(DataType data_type)
Method to return the GEMM configuration function based on data type.