24.02.1
|
Go to the documentation of this file.
24 #ifndef ACL_SRC_CORE_CL_KERNELS_CLCOMPARISONKERNEL_H
25 #define ACL_SRC_CORE_CL_KERNELS_CLCOMPARISONKERNEL_H
96 #endif // ACL_SRC_CORE_CL_KERNELS_CLCOMPARISONKERNEL_H
Interface for the comparison kernel.
Interface for OpenCL tensor.
~CLComparisonKernel()=default
Default destructor.
void configure(const ICLTensor *input1, const ICLTensor *input2, ICLTensor *output, ComparisonOperation operation)
Set the inputs and output tensors.
void run(const Window &window, cl::CommandQueue &queue) override
Enqueue the OpenCL kernel to process the given window on the passed OpenCL command queue.
CLComparisonKernel()
Default constructor.
ComparisonOperation
Supported comparison operations.
static Status validate(const ITensorInfo *input1, const ITensorInfo *input2, const ITensorInfo *output, ComparisonOperation operation)
Static function to check if given info will lead to a valid configuration of CLComparisonKernel.
Common interface for all the OpenCL kernels.
const Window & window() const
The maximum window the kernel can be executed on.
CLComparisonKernel & operator=(const CLComparisonKernel &)=delete
Prevent instances of this class from being copied (As this class contains pointers)
Describe a multidimensional execution window.
Copyright (c) 2017-2024 Arm Limited.
Store the tensor's metadata.