25 #ifndef ARM_COMPUTE_CLSTACKLAYERKERNEL_H 26 #define ARM_COMPUTE_CLSTACKLAYERKERNEL_H const Window & window() const
The maximum window the kernel can be executed on.
static Status validate(const ITensorInfo *input, unsigned int axis, unsigned int idx_input, unsigned int num_tensors, const ITensorInfo *output)
Static function to check if given info will lead to a valid configuration of CLStackLayerKernel.
~CLStackLayerKernel()=default
Default destructor.
Store the tensor's metadata.
Common interface for all the OpenCL kernels.
OpenCL kernel to stacks a rank-R tensor into one with rank-(R+1) along the axis dimension.
Copyright (c) 2017-2021 Arm Limited.
CLStackLayerKernel & operator=(const CLStackLayerKernel &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...
void run(const Window &window, cl::CommandQueue &queue) override
Enqueue the OpenCL kernel to process the given window on the passed OpenCL command queue...
CLStackLayerKernel()
Default constructor.
Interface for OpenCL tensor.
void configure(const ICLTensor *input, unsigned int axis, unsigned int idx_input, unsigned int num_tensors, ICLTensor *output)
Initialise the kernel's inputs and output.
Describe a multidimensional execution window.