29 virtual void*
allocate(
size_t size,
size_t alignment) = 0;
32 virtual void free(
void* ptr) = 0;
Custom Allocator interface.
virtual ~ICustomAllocator()=default
Default virtual destructor.
virtual void free(void *ptr)=0
Interface to be implemented by the child class to free the allocated bytes.
Copyright (c) 2021 ARM Limited and Contributors.
virtual armnn::MemorySource GetMemorySourceType()=0
MemorySource
Define the Memory Source to reduce copies.
virtual void * allocate(size_t size, size_t alignment)=0
Interface to be implemented by the child class to allocate bytes.