23.08
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_CLFILLBORDERKERNEL_H
25 #define ARM_COMPUTE_CLFILLBORDERKERNEL_H
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.
bool is_parallelisable() const override
Indicates whether or not the kernel is parallelisable.
Container for 2D border size.
CLFillBorderKernel & operator=(const CLFillBorderKernel &)=delete
Prevent instances of this class from being copied (As this class contains pointers)
Interface for OpenCL tensor.
Interface for filling the border of a kernel.
virtual BorderSize border_size() const
The size of the border for that kernel.
CLFillBorderKernel()
Default constructor.
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.
CLTensor * tensor
Pointer to the auxiliary tensor.
Common interface for all the OpenCL kernels.
const Window & window() const
The maximum window the kernel can be executed on.
Describe a multidimensional execution window.
Copyright (c) 2017-2023 Arm Limited.
void run(const Window &window, cl::CommandQueue &queue) override
Enqueue the OpenCL kernel to process the given window on the passed OpenCL command queue.
BorderMode
Methods available to handle borders.
Store the tensor's metadata.
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.
~CLFillBorderKernel()=default
Default destructor.