24 #ifndef ARM_COMPUTE_CLREDUCTIONOPERATIONKERNEL_H 25 #define ARM_COMPUTE_CLREDUCTIONOPERATIONKERNEL_H 90 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.
Store the tensor's metadata.
void configure(const ICLTensor *input, ICLTensor *output, unsigned int axis, ReductionOperation op)
Set the input and output tensors.
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...
Copyright (c) 2017-2021 Arm Limited.
CLReductionOperationKernel()
Default constructor.
Interface for OpenCL tensor.
CLReductionOperationKernel & operator=(const CLReductionOperationKernel &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...
static Status validate(const ITensorInfo *input, const ITensorInfo *output, unsigned int axis, ReductionOperation op)
Static function to check if given info will lead to a valid configuration of CLReductionOperationKern...
Describe a multidimensional execution window.