24 #ifndef ARM_COMPUTE_CLFILLBORDERKERNEL_H 25 #define ARM_COMPUTE_CLFILLBORDERKERNEL_H 89 void run(
const Window &window, cl::CommandQueue &queue)
override;
BorderMode
Methods available to handle borders.
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...
Class describing the value of a pixel for any image format.
void configure(const CLCompileContext &compile_context, ICLTensor *tensor, BorderSize border_size, BorderMode border_mode, const PixelValue &constant_border_value=PixelValue())
Initialise the kernel's input, output and border mode.
const Window & window() const
The maximum window the kernel can be executed on.
Container for 2D border size.
bool is_parallelisable() const override
Indicates whether or not the kernel is parallelisable.
Store the tensor's metadata.
Common interface for all the OpenCL kernels.
void set_constant_border(unsigned int idx, const PixelValue &constant_border_value)
Function to set the constant value on fill border kernel depending on type.
CLFillBorderKernel & operator=(const CLFillBorderKernel &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...
Copyright (c) 2017-2021 Arm Limited.
CLFillBorderKernel()
Default constructor.
virtual BorderSize border_size() const
The size of the border for that kernel.
void run(const Window &window, cl::CommandQueue &queue) override
Enqueue the OpenCL kernel to process the given window on the passed OpenCL command queue...
Interface for filling the border of a kernel.
Interface for OpenCL tensor.
~CLFillBorderKernel()=default
Default destructor.
Describe a multidimensional execution window.