24 #ifndef ARM_COMPUTE_CLREDUCTIONOPERATIONKERNEL_H 25 #define ARM_COMPUTE_CLREDUCTIONOPERATIONKERNEL_H 94 unsigned int _reduction_axis;
const Window & window() const
The maximum window the kernel can be executed on.
~CLReductionOperationKernel()=default
Default destructor.
ReductionOperation
Available reduction operations.
Container for 2D border size.
Store the tensor's metadata.
Interface for the reduction operation kernel.
Common interface for all the OpenCL kernels.
void run(const Window &window, cl::CommandQueue &queue) override
Enqueue the OpenCL kernel to process the given window on the passed OpenCL command queue...
BorderSize border_size() const override
The size of the border for that kernel.
Copyright (c) 2017-2021 Arm Limited.
CLReductionOperationKernel()
Default constructor.
static Status validate(const ITensorInfo *input, const ITensorInfo *output, unsigned int axis, ReductionOperation op, unsigned int width=0)
Static function to check if given info will lead to a valid configuration of CLReductionOperationKern...
Interface for OpenCL tensor.
CLReductionOperationKernel & operator=(const CLReductionOperationKernel &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...
void configure(const ICLTensor *input, ICLTensor *output, unsigned int axis, ReductionOperation op, unsigned int width=0)
Set the input and output tensors.
Describe a multidimensional execution window.