24.02.1
|
Go to the documentation of this file.
40 const ICLTensor *
src{
nullptr};
41 ICLTensor *
dst{
nullptr};
42 std::unique_ptr<opencl::ClCast> op{
nullptr};
68 _impl->op = std::make_unique<opencl::ClCast>();
69 _impl->op->configure(compile_context, _impl->src->info(), _impl->dst->info(), policy);
SimpleTensor< float > src
Interface for OpenCL tensor.
void configure(const ICLTensor *input, ICLTensor *output, ConvertPolicy policy)
Initialize the function's source, 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(...)
Basic function to run opencl::kernels::ClCastKernel.
CLCast & operator=(const CLCast &)=delete
Prevent instances of this class from being copied (As this class contains pointers)
static Status validate(const ITensorInfo *input, const ITensorInfo *output, ConvertPolicy policy)
Static function to check if given info will lead to a valid configuration of CLCast.
void run() override
Run the kernels contained in the function.
Copyright (c) 2017-2024 Arm Limited.
ConvertPolicy
Policy to handle integer overflow.
Store the tensor's metadata.
static Status validate(const ITensorInfo *src, const ITensorInfo *dst, ConvertPolicy policy)
Static function to check if given info will lead to a valid configuration.
#define ARM_COMPUTE_LOG_PARAMS(...)