21.02
|
Bifrost based OpenCL GEMMReshaped configuration. More...
#include <CLGEMMDefaultConfigReshapedBifrost.h>
Public Member Functions | |
CLGEMMDefaultConfigReshapedBifrost (GPUTarget gpu) | |
Constructor. More... | |
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. More... | |
![]() | |
ICLGEMMKernelConfiguration (GPUTarget arch) | |
Constructor. More... | |
ICLGEMMKernelConfiguration (const ICLGEMMKernelConfiguration &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
ICLGEMMKernelConfiguration & | operator= (const ICLGEMMKernelConfiguration &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
ICLGEMMKernelConfiguration (ICLGEMMKernelConfiguration &&)=default | |
Default Move Constructor. More... | |
ICLGEMMKernelConfiguration & | operator= (ICLGEMMKernelConfiguration &&)=default |
Default move assignment operator. More... | |
virtual | ~ICLGEMMKernelConfiguration ()=default |
Virtual destructor. More... | |
Bifrost based OpenCL GEMMReshaped configuration.
Definition at line 34 of file CLGEMMDefaultConfigReshapedBifrost.h.
Constructor.
[in] | gpu | GPU target |
Definition at line 43 of file CLGEMMDefaultConfigReshapedBifrost.cpp.
Referenced by CLGEMMDefaultConfigReshapedBifrost::configure().
|
overridevirtual |
Given M, N, K and B, this method returns the GEMMLHSMatrixInfo and GEMMRHSMatrixInfo to be used.
[in] | m | Number of rows LHS matrix |
[in] | n | Number of columns RHS matrix |
[in] | k | Number of columns LHS matrix or number of rows RHS matrix |
[in] | b | Batch size |
[in] | data_type | Data type |
Implements ICLGEMMKernelConfiguration.
Definition at line 48 of file CLGEMMDefaultConfigReshapedBifrost.cpp.
References ARM_COMPUTE_ERROR, ARM_COMPUTE_UNUSED, arm_compute::test::validation::b, CLGEMMDefaultConfigReshapedBifrost::CLGEMMDefaultConfigReshapedBifrost(), arm_compute::misc::shape_calculator::compute_rhs_reshaped_shape(), arm_compute::cl_gemm::configure_lhs_rhs_info(), arm_compute::dot8_supported(), arm_compute::F16, arm_compute::F32, arm_compute::G76, CLKernelLibrary::get(), arm_compute::QASYMM8, arm_compute::QASYMM8_SIGNED, arm_compute::QSYMM8, arm_compute::QSYMM8_PER_CHANNEL, arm_compute::cl_gemm::select_lhs_rhs_info(), arm_compute::test::validation::shape, and arm_compute::cl_gemm::validate_image2d_support_on_rhs().