24.02.1
|
void unmap()
Enqueue an unmap operation of the allocated and mapped buffer.
arm_compute::ITensor & tensor() override
Backend tensor object accessor.
virtual void manage(IMemoryManageable *obj)=0
Sets a object to be managed by the given memory group.
@ CL
OpenCL capable target device.
void unmap() override
Un-maps a backend tensor object.
void init(const TensorInfo &input, size_t alignment=0)
Initialize a tensor based on the passed TensorInfo.
void map(bool blocking=true)
Enqueue a map operation of the allocated buffer.
Interface for CPU tensor.
ITensorHandle * parent_handle() override
Return the parent tensor handle if is a subtensor else this.
void allocate() override
Allocates backend memory for the handle.
void free() override
Allocates backend memory for the handle.
void release_if_unused() override
Releases backend tensor if is marked as unused.
void allocate() override
Allocate size specified by TensorInfo of OpenCL memory.
CLTensorAllocator * allocator()
Return a pointer to the tensor's allocator.
bool is_used() const
Flags if the tensor is used or not.
void map(bool blocking) override
Maps backend tensor object.
void free() override
Free allocated OpenCL memory.
Copyright (c) 2017-2024 Arm Limited.
Store the tensor's metadata.
bool is_subtensor() const override
Checks if a backing tensor is a sub-tensor object or not.
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
Tensor handle interface object.
Target target() const override
Returns target type.
CLTensorHandle(const ITensorInfo &info)
Default Constructor.
void manage(IMemoryGroup *mg) override
Set backend tensor to be managed by a memory group.