23.08
|
Go to the documentation of this file.
41 const ICLTensor *
src{
nullptr };
42 ICLTensor *
dst{
nullptr };
43 std::unique_ptr<opencl::ClCopy> op{
nullptr };
47 : _impl(std::make_unique<Impl>())
67 _impl->op = std::make_unique<opencl::ClCopy>();
68 _impl->op->configure(compile_context, _impl->src->info(), _impl->dst->info(), dst_window);
SimpleTensor< float > src
Interface for OpenCL tensor.
void add_tensor(int id, ITensor *tensor)
Add tensor to the pack.
void configure(ICLTensor *input, ICLTensor *output, Window *dst_window=nullptr)
Initialise the function's source and destination.
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, Window *dst_window=nullptr)
Static function to check if given info will lead to a valid configuration.
Basic function to run opencl::kernels::ClCopyKernel.
static Status validate(const ITensorInfo *input, const ITensorInfo *output, Window *dst_window=nullptr)
Static function to check if given info will lead to a valid configuration of CLCopy.
Describe a multidimensional execution window.
Copyright (c) 2017-2023 Arm Limited.
Store the tensor's metadata.
void run() override
Run the kernels contained in the function.
CLCopy & operator=(const CLCopy &)=delete
Prevent instances of this class from being copied (As this class contains pointers)
#define ARM_COMPUTE_LOG_PARAMS(...)