24 #ifndef __ARM_COMPUTE_RUNTIME_MEMORY_REGION_H__ 25 #define __ARM_COMPUTE_RUNTIME_MEMORY_REGION_H__ 48 _mem = std::shared_ptr<uint8_t>(
new uint8_t[
size](), [](uint8_t *ptr)
75 return reinterpret_cast<void **
>(&_mem);
79 std::shared_ptr<uint8_t> _mem;
void * buffer() final
Returns the pointer to the allocated data.
void ** handle() final
Handle of internal memory.
Memory region CPU implementation.
This file contains all available output stages for GEMMLowp on OpenCL.
size_t size()
Memory region size accessor.
void * buffer() const final
Returns the pointer to the allocated data.
MemoryRegion & operator=(const MemoryRegion &)=delete
Prevent instances of this class from being copied (As this class contains pointers) ...
MemoryRegion(size_t size)
Default constructor.