24.04
|
#include <ClComponentMatMul.h>
Public Types | |
using | Attributes = MatMulAttributes |
Attributes are a set of backend-agnostic parameters that define what a component does. More... | |
using | Settings = GpuMatMulSettings |
Settings are a set of backend-specific parameters that influence the implementation of a component. More... | |
Public Types inherited from IGpuKernelComponent | |
using | Properties = KernelProperties |
Public Member Functions | |
ClComponentMatMul (ComponentId id, const Properties &properties, const ArgumentPack< ITensorInfo > &tensors, const Attributes &attributes, const Settings &settings) | |
Constructor. More... | |
~ClComponentMatMul () override | |
Destructor. More... | |
ClComponentMatMul (const ClComponentMatMul &component)=delete | |
Prevent instances of this class from being copy constructed. More... | |
ClComponentMatMul & | operator= (const ClComponentMatMul &component)=delete |
Prevent instances of this class from being copied. More... | |
ClComponentMatMul (ClComponentMatMul &&component)=default | |
Allow instances of this class to be move constructed. More... | |
ClComponentMatMul & | operator= (ClComponentMatMul &&component)=default |
Allow instances of this class to be moved. More... | |
const IGpuCkwComponentDriver * | ckw_component_driver () const override |
Get writer for the component. More... | |
GpuComponentType | type () const override |
Get component type. More... | |
Public Member Functions inherited from IGpuKernelComponent | |
IGpuKernelComponent (ComponentId id, const Properties &properties, const ArgumentPack< ITensorInfo > &tensors) | |
Constructor. More... | |
virtual | ~IGpuKernelComponent () |
Destructor. More... | |
ComponentId | id () const |
Get component id. More... | |
ArgumentPack< ITensorInfo > | tensors () const |
Get tensor arguments. More... | |
Properties | properties () const |
Get properties. More... | |
Static Public Member Functions | |
static Status | validate (const Properties &properties, const ArgumentPack< ITensorInfo > &tensors, const Attributes &attributes, const Settings &settings) |
Validate the component. More... | |
Definition at line 49 of file ClComponentMatMul.h.
using Attributes = MatMulAttributes |
Attributes are a set of backend-agnostic parameters that define what a component does.
Definition at line 53 of file ClComponentMatMul.h.
using Settings = GpuMatMulSettings |
Settings are a set of backend-specific parameters that influence the implementation of a component.
Definition at line 55 of file ClComponentMatMul.h.
ClComponentMatMul | ( | ComponentId | id, |
const Properties & | properties, | ||
const ArgumentPack< ITensorInfo > & | tensors, | ||
const Attributes & | attributes, | ||
const Settings & | settings | ||
) |
Constructor.
Similar to ClComponentMatMul::validate()
Definition at line 127 of file ClComponentMatMul.cpp.
References IGpuKernelComponent::id(), IGpuKernelComponent::properties(), and IGpuKernelComponent::tensors().
|
override |
|
delete |
Prevent instances of this class from being copy constructed.
|
default |
Allow instances of this class to be move constructed.
|
overridevirtual |
Get writer for the component.
Reimplemented from IGpuKernelComponent.
Definition at line 141 of file ClComponentMatMul.cpp.
|
default |
Allow instances of this class to be moved.
|
delete |
Prevent instances of this class from being copied.
|
inlineoverridevirtual |
Get component type.
Implements IGpuKernelComponent.
Definition at line 112 of file ClComponentMatMul.h.
References arm_compute::experimental::dynamic_fusion::Complex.
|
static |
Validate the component.
[in] | properties | Component properties |
[in,out] | tensors | Tensor arguments to the component |
[in] | attributes | Component attributes |
[in] | settings | Component settings |
Tensor argument names:
Tensor argument constness:
Valid data layouts:
Valid data type configurations:
ACL_SRC_0 | ACL_SRC_1 | ACL_DST_0 |
---|---|---|
F16 | F16 | F16 |
F32 | F32 | F32 |
Definition at line 81 of file ClComponentMatMul.cpp.
References arm_compute::ACL_DST_0, arm_compute::ACL_SRC_0, arm_compute::ACL_SRC_1, MatMulAttributes::adj_lhs(), MatMulAttributes::adj_rhs(), ARM_COMPUTE_RETURN_ERROR_ON, ARM_COMPUTE_RETURN_ERROR_ON_DATA_TYPE_CHANNEL_NOT_IN, ARM_COMPUTE_RETURN_ERROR_ON_F16_UNSUPPORTED, ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_DATA_TYPES, ARM_COMPUTE_RETURN_ERROR_ON_MISMATCHING_DIMENSIONS, ARM_COMPUTE_RETURN_ON_ERROR, ARM_COMPUTE_UNUSED, arm_compute::misc::shape_calculator::compute_matmul_shape(), arm_compute::test::validation::dst, arm_compute::F16, arm_compute::F32, GpuMatMulSettings::k0(), GpuMatMulSettings::m0(), GpuMatMulSettings::n0(), IGpuKernelComponent::properties(), IGpuKernelComponent::tensors(), and arm_compute::opencl::kernels::validate_matmul_input_shapes().