24.02.1
|
Go to the documentation of this file.
24 #ifndef SRC_COMMON_ALLOCATORWRAPPER_H
25 #define SRC_COMMON_ALLOCATORWRAPPER_H
50 void *
alloc(
size_t size);
AllocatorWrapper(const AclAllocator &backing_allocator) noexcept
Default Constructor.
void set_user_data(void *user_data)
Set user data to be used by the allocator.
AllocatorWrapper & operator=(const AllocatorWrapper &) noexcept=delete
void aligned_free(void *ptr)
Free an aligned memory block.
Default malloc allocator implementation.
void * aligned_alloc(size_t size, size_t alignment)
Allocate a chunk of memory of a given size in bytes, while honoring a given alignment requirement.
Copyright (c) 2017-2024 Arm Limited.
void free(void *ptr)
Free an allocated memory block.
void * alloc(size_t size)
Allocate a chunk of memory of a given size in bytes.