23.08
|
Go to the documentation of this file.
37 const ICLTensor *
src{
nullptr };
38 ICLTensor *
dst{
nullptr };
39 std::unique_ptr<opencl::ClFloor> op{
nullptr };
43 : _impl(std::make_unique<Impl>())
62 _impl->op = std::make_unique<opencl::ClFloor>();
63 _impl->op->configure(compile_context, _impl->src->info(), _impl->dst->info());
SimpleTensor< float > src
CLFloor & operator=(const CLFloor &)=delete
Prevent instances of this class from being copied (As this class contains pointers)
void run() override
Run the kernels contained in the function.
Interface for OpenCL tensor.
void add_tensor(int id, ITensor *tensor)
Add tensor to the pack.
static CLKernelLibrary & get()
Access the KernelLibrary singleton.
Manages all the OpenCL kernels compilation and caching, provides accessors for the OpenCL Context.
#define ARM_COMPUTE_ERROR_ON_NULLPTR(...)
static Status validate(const ITensorInfo *src, const ITensorInfo *dst)
Static function to check if given info will lead to a valid configuration.
Copyright (c) 2017-2023 Arm Limited.
void configure(const ICLTensor *input, ICLTensor *output)
Set the source, destination of the kernel.
Store the tensor's metadata.
Basic function to run opencl::kernels::ClFloorKernel.
static Status validate(const ITensorInfo *input, const ITensorInfo *output)
Static function to check if given info will lead to a valid configuration of CLFloor.