24.02.1
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_CPU_GEMM_MATRIX_ADDITION_KERNEL_H
25 #define ARM_COMPUTE_CPU_GEMM_MATRIX_ADDITION_KERNEL_H
79 const char *
name()
const override;
92 GemmMatrixAddKernelPtr _func{
nullptr};
const char * name() const override
Name of the kernel.
SimpleTensor< float > src
decltype(strategy::transforms) typedef type
void run_op(ITensorPack &tensors, const Window &window, const ThreadInfo &info) override
Execute the kernel on the passed window.
GemmMatrixAddKernelPtr ukernel
Interface for CPU tensor.
Kernel to perform the in-place matrix addition between 2 matrices taking into account that the second...
static Status validate(const ITensorInfo *src, const ITensorInfo *dst, float beta)
Static function to check if given info will lead to a valid configuration of CpuGemmMatrixAdditionKer...
CpuGemmMatrixAdditionKernel()=default
std::add_pointer< bool(const DataTypeISASelectorData &data)>::type DataTypeISASelectorPtr
void configure(const ITensorInfo *src, ITensorInfo *dst, float beta)
Initialise the kernel's input and output.
const Window & window() const
The maximum window the kernel can be executed on.
Information about executing thread and CPU.
ARM_COMPUTE_DISALLOW_COPY_ALLOW_MOVE(CpuGemmMatrixAdditionKernel)
Describe a multidimensional execution window.
Copyright (c) 2017-2024 Arm Limited.
const DataTypeISASelectorPtr is_selected
Store the tensor's metadata.
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
static const std::vector< GemmMatrixAddKernel > & get_available_kernels()