Compute Library
18.05
|
NEON kernel to multiply matrices. More...
#include <NEGEMMLowpMatrixMultiplyKernel.h>
Public Member Functions | |
const char * | name () const override |
Name of the kernel. More... | |
NEGEMMLowpMatrixMultiplyKernel () | |
Constructor. More... | |
NEGEMMLowpMatrixMultiplyKernel (const NEGEMMLowpMatrixMultiplyKernel &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEGEMMLowpMatrixMultiplyKernel & | operator= (const NEGEMMLowpMatrixMultiplyKernel &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEGEMMLowpMatrixMultiplyKernel (NEGEMMLowpMatrixMultiplyKernel &&)=default | |
Allow instances of this class to be moved. More... | |
NEGEMMLowpMatrixMultiplyKernel & | operator= (NEGEMMLowpMatrixMultiplyKernel &&)=default |
Allow instances of this class to be moved. More... | |
void | configure (const ITensor *input0, const ITensor *input1, ITensor *output) |
Initialise the kernel's input and output. More... | |
void | run (const Window &window, const ThreadInfo &info) override |
Execute the kernel on the passed window. More... | |
Public Member Functions inherited from ICPPKernel | |
virtual | ~ICPPKernel ()=default |
Default destructor. More... | |
Public Member Functions inherited from IKernel | |
IKernel () | |
Constructor. More... | |
virtual | ~IKernel ()=default |
Destructor. More... | |
virtual bool | is_parallelisable () const |
Indicates whether or not the kernel is parallelisable. More... | |
virtual BorderSize | border_size () const |
The size of the border for that kernel. More... | |
const Window & | window () const |
The maximum window the kernel can be executed on. More... | |
Static Public Member Functions | |
static Status | validate (const ITensorInfo *input0, const ITensorInfo *input1, const ITensorInfo *output) |
Static function to check if given info will lead to a valid configuration of NEGEMMLowpMatrixMultiplyKernel. More... | |
NEON kernel to multiply matrices.
Definition at line 43 of file NEGEMMLowpMatrixMultiplyKernel.h.
Constructor.
Referenced by NEGEMMLowpMatrixMultiplyKernel::name().
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
default |
Allow instances of this class to be moved.
Initialise the kernel's input and output.
The input matrices input0
and input1
must be the output of the kernels: NEGEMMInterleave4x4Kernel and NEGEMMTranspose1xWKernel. These two kernels change the layout of the original matrices to be more cache-friendly.
[in] | input0 | Input tensor containing the interleaved Matrix A. Data type supported: QASYMM8 |
[in] | input1 | Input tensor containing the transposed1xW Matrix B. Data type supported: same as input0 |
[out] | output | Output tensor to store the result of matrix multiplication. Data type supported: S32 |
Referenced by NEGEMMLowpMatrixMultiplyKernel::name().
|
inlineoverridevirtual |
Name of the kernel.
Implements ICPPKernel.
Definition at line 46 of file NEGEMMLowpMatrixMultiplyKernel.h.
References NEGEMMLowpMatrixMultiplyKernel::configure(), arm_compute::test::validation::info(), NEGEMMLowpMatrixMultiplyKernel::NEGEMMLowpMatrixMultiplyKernel(), NEGEMMLowpMatrixMultiplyKernel::operator=(), NEGEMMLowpMatrixMultiplyKernel::run(), NEGEMMLowpMatrixMultiplyKernel::validate(), and IKernel::window().
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
Referenced by NEGEMMLowpMatrixMultiplyKernel::name().
|
default |
Allow instances of this class to be moved.
|
overridevirtual |
Execute the kernel on the passed window.
[in] | window | Region on which to execute the kernel. (Must be a region of the window returned by window()) |
[in] | info | Info about executing thread and CPU. |
Implements ICPPKernel.
Referenced by NEGEMMLowpMatrixMultiplyKernel::name().
|
static |
Static function to check if given info will lead to a valid configuration of NEGEMMLowpMatrixMultiplyKernel.
[in] | input0 | Input tensor info containing the interleaved Matrix A. Data type supported: QASYMM8 |
[in] | input1 | Input tensor info containing the transposed Matrix B. Data type supported: same as input0 |
[in] | output | Output tensor info to store the result of matrix multiplication. Data type supported: S32 |
Referenced by NEGEMMLowpMatrixMultiplyKernel::name().