33 struct CLLogicalNot::Impl
35 const ICLTensor *
src{
nullptr };
36 ICLTensor *
dst{
nullptr };
37 std::unique_ptr<opencl::ClLogicalNot> op{
nullptr };
41 : _impl(
std::make_unique<Impl>())
57 _impl->op = std::make_unique<opencl::ClLogicalNot>();
58 _impl->op->configure(compile_context, input->
info(), output->
info());
static CLKernelLibrary & get()
Access the KernelLibrary singleton.
Store the tensor's metadata.
static Status validate(const ITensorInfo *input, const ITensorInfo *output)
Static function to check if given info will lead to a valid configuration.
SimpleTensor< float > src
Copyright (c) 2017-2021 Arm Limited.
CLLogicalNot & operator=(const CLLogicalNot &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...
Basic function to do logical NOT operation.
~CLLogicalNot()
Default Destructor.
virtual ITensorInfo * info() const =0
Interface to be implemented by the child class to return the tensor's metadata.
void run() override
Run the kernels contained in the function.
static Status validate(const ITensorInfo *src, const ITensorInfo *dst)
Static function to check if given info will lead to a valid configuration.
Interface for OpenCL tensor.
Manages all the OpenCL kernels compilation and caching, provides accessors for the OpenCL Context...
CLLogicalNot()
Default Constructor.
void configure(const ICLTensor *input, ICLTensor *output)
Initialize the function.
void add_tensor(int id, ITensor *tensor)
Add tensor to the pack.