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