21.02
|
Basic function to run arm_compute::opencl::kernels::ClLogicalBinaryKernel. More...
#include <CLLogicalOr.h>
Public Member Functions | |
CLLogicalOr () | |
Default Constructor. More... | |
~CLLogicalOr () | |
Default Destructor. More... | |
CLLogicalOr (const CLLogicalOr &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
CLLogicalOr (CLLogicalOr &&) | |
Default move constructor. More... | |
CLLogicalOr & | operator= (const CLLogicalOr &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
CLLogicalOr & | operator= (CLLogicalOr &&) |
Default move assignment operator. More... | |
void | configure (ICLTensor *input1, ICLTensor *input2, ICLTensor *output) |
Initialize the function. More... | |
void | configure (const CLCompileContext &compile_context, ICLTensor *input1, ICLTensor *input2, ICLTensor *output) |
Initialize the function. More... | |
void | run () override |
Run the kernels contained in the function. More... | |
Public Member Functions inherited from IFunction | |
virtual | ~IFunction ()=default |
Destructor. More... | |
virtual void | prepare () |
Prepare the function for executing. More... | |
Static Public Member Functions | |
static Status | validate (const ITensorInfo *input1, const ITensorInfo *input2, const ITensorInfo *output) |
Static function to check if given info will lead to a valid configuration. More... | |
Basic function to run arm_compute::opencl::kernels::ClLogicalBinaryKernel.
Definition at line 73 of file CLLogicalOr.h.
CLLogicalOr | ( | ) |
Default Constructor.
Definition at line 60 of file CLLogicalOr.cpp.
References CLLogicalOr::operator=(), and CLLogicalOr::~CLLogicalOr().
|
default |
Default Destructor.
Referenced by CLLogicalOr::CLLogicalOr().
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
default |
Default move constructor.
Initialize the function.
[in] | input1 | Input tensor. Data types supported: U8. |
[in] | input2 | Input tensor. Data types supported: same as input1 . |
[out] | output | Output tensor. Data types supported: same as input1 . |
Definition at line 68 of file CLLogicalOr.cpp.
References CLKernelLibrary::get().
void configure | ( | const CLCompileContext & | compile_context, |
ICLTensor * | input1, | ||
ICLTensor * | input2, | ||
ICLTensor * | output | ||
) |
Initialize the function.
[in] | compile_context | The compile context to be used. |
[in] | input1 | Input tensor. Data types supported: U8. |
[in] | input2 | Input tensor. Data types supported: same as input1 . |
[out] | output | Output tensor. Data types supported: same as input1 . |
Definition at line 73 of file CLLogicalOr.cpp.
References ITensor::info().
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
Referenced by CLLogicalOr::CLLogicalOr().
|
default |
Default move assignment operator.
|
overridevirtual |
Run the kernels contained in the function.
For Neon kernels:
For OpenCL kernels:
Implements IFunction.
Definition at line 87 of file CLLogicalOr.cpp.
References arm_compute::ACL_DST, arm_compute::ACL_SRC_0, arm_compute::ACL_SRC_1, and ITensorPack::add_tensor().
|
static |
Static function to check if given info will lead to a valid configuration.
[in] | input1 | First tensor input info. Data types supported: U8. |
[in] | input2 | Second tensor input info. Data types supported: same as input1 . |
[in] | output | Output tensor info. Data types supported: same as input1 . |
Definition at line 82 of file CLLogicalOr.cpp.
References CLLogicalOr::validate().
Referenced by arm_compute::test::validation::TEST_CASE().