24.02.1
|
Go to the documentation of this file.
37 std::unique_ptr<OperatorType> op{
nullptr};
38 ITensorPack run_pack{};
68 _impl->op = std::make_unique<OperatorType>();
69 _impl->op->configure(compile_context, lhs->
info(), rhs->
info(), output->
info(), matmul_info,
act_info);
84 _impl->op->run(_impl->run_pack);
CLMatMul()
Default constructor.
Interface for OpenCL tensor.
static CLKernelLibrary & get()
Access the KernelLibrary singleton.
Activation Layer Information class.
Operator backend specific settings.
#define ARM_COMPUTE_ERROR_ON_NULLPTR(...)
virtual ITensorInfo * info() const =0
Interface to be implemented by the child class to return the tensor's metadata.
static Status validate(const ITensorInfo *lhs, const ITensorInfo *rhs, const ITensorInfo *output, const MatMulInfo &matmul_info, const ActivationLayerInfo &act_info=ActivationLayerInfo{})
Static function to check if given info will lead to a valid configuration of CLMatMul.
#define ARM_COMPUTE_UNUSED(...)
To avoid unused variables warnings.
opencl::ClGemm OperatorType
Copyright (c) 2017-2024 Arm Limited.
Store the tensor's metadata.
void configure(const CLCompileContext &compile_context, ICLTensor *rhs, ICLTensor *lhs, ICLTensor *dst, const MatMulInfo &matmul_info, const GpuMatMulSettings &settings=GpuMatMulSettings{}, const ActivationLayerInfo &act_info=ActivationLayerInfo{})
Initialise the kernel's inputs and output.
void run() override
Run the kernels contained in the function.
static Status validate(const ITensorInfo *a, const ITensorInfo *b, const ITensorInfo *c, const ITensorInfo *output, float alpha, float beta, const GEMMInfo &gemm_info)
Static function to check if given info will lead to a valid configuration.
Class for holding information related to matrix multiplication function.
~CLMatMul()
Default destructor.