24.02.1
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_RUNTIME_IMEMORY_REGION_H
25 #define ARM_COMPUTE_RUNTIME_IMEMORY_REGION_H
62 virtual void *
buffer() = 0;
67 virtual const void *
buffer()
const = 0;
size_t size() const
Memory region size accessor.
virtual std::unique_ptr< IMemoryRegion > extract_subregion(size_t offset, size_t size)=0
Extract a sub-region from the memory.
virtual ~IMemoryRegion()=default
Virtual Destructor.
__global uchar * offset(const Image *img, int x, int y)
Get the pointer position of a Image.
IMemoryRegion(size_t size)
Default constructor.
Copyright (c) 2017-2024 Arm Limited.
virtual void * buffer()=0
Returns the pointer to the allocated data.
void set_size(size_t size)
Sets size of region.