24 #ifndef ARM_COMPUTE_CL_ELEMENTWISE_UNARY_KERNEL_H 25 #define ARM_COMPUTE_CL_ELEMENTWISE_UNARY_KERNEL_H const Window & window() const
The maximum window the kernel can be executed on.
ARM_COMPUTE_DISALLOW_COPY_ALLOW_MOVE(ClElementWiseUnaryKernel)
Store the tensor's metadata.
ClElementWiseUnaryKernel()=default
Common interface for all the OpenCL kernels.
SimpleTensor< float > src
Copyright (c) 2017-2021 Arm Limited.
Interface for the elementwise unary operator.
ElementWiseUnary
Available element wise unary operations.
Describe a multidimensional execution window.
void run_op(ITensorPack &tensors, const Window &window, cl::CommandQueue &queue) override
Enqueue the OpenCL kernel to process the given window on the passed OpenCL command queue...
static Status validate(const ITensorInfo *src, const ITensorInfo *dst, const ElementWiseUnary &op)
Static function to check if given info will lead to a valid configuration of ClElementWiseUnaryKernel...
void configure(const CLCompileContext &compile_context, const ITensorInfo *src, ITensorInfo *dst, const ElementWiseUnary &op)
Initialise the kernel's srcs, dst.