24.02.1
|
Go to the documentation of this file.
40 const ICLTensor *
src{
nullptr};
41 ICLTensor *
dst{
nullptr};
42 std::unique_ptr<opencl::ClFill> op{
nullptr};
66 _impl->op = std::make_unique<opencl::ClFill>();
67 _impl->op->configure(compile_context, _impl->src->info(), constant_value, dst_window);
SimpleTensor< float > src
void run() override
Run the kernels contained in the function.
Class describing the value of a pixel for any image format.
Interface for OpenCL tensor.
void add_tensor(int id, ITensor *tensor)
Add tensor to the pack.
static CLKernelLibrary & get()
Access the KernelLibrary singleton.
Basic function to run opencl::kernels::ClFillKernel.
Manages all the OpenCL kernels compilation and caching, provides accessors for the OpenCL Context.
#define ARM_COMPUTE_ERROR_ON_NULLPTR(...)
void configure(ICLTensor *tensor, const PixelValue &constant_value, Window *window=nullptr)
Initialize the kernel's tensor and filling value.
static Status validate(const ITensorInfo *tensor, const PixelValue &constant_value, Window *window=nullptr)
Static function to check if given info will lead to a valid configuration of CLFill.
CLTensor * tensor
Pointer to the auxiliary tensor.
Describe a multidimensional execution window.
CLFill & operator=(const CLFill &)=delete
Prevent instances of this class from being copied (As this class contains pointers)
Copyright (c) 2017-2024 Arm Limited.
static Status validate(const ITensorInfo *tensor, const PixelValue &constant_value, Window *window=nullptr)
Static function to check if given info will lead to a valid configuration.
Store the tensor's metadata.