22.05
|
#include <MemoryManager.hpp>
Public Member Functions | |
void | StoreMemToAllocate (std::vector< BufferStorage > bufferStorageVector, std::shared_ptr< ICustomAllocator > customAllocator, size_t typeAlignment=0) |
Initialization method to store in all information needed. More... | |
void | Allocate () |
Allocate the amount of memory indicated by , and point each to each correspondent Tensor so that they are bytes separated. More... | |
void | Deallocate () |
Deallocate memory. More... | |
Definition at line 39 of file MemoryManager.hpp.
void Allocate | ( | ) |
Allocate the amount of memory indicated by , and point each to each correspondent Tensor so that they are bytes separated.
Definition at line 23 of file MemoryManager.cpp.
Referenced by armnn::TEST_SUITE().
void Deallocate | ( | ) |
Deallocate memory.
Definition at line 41 of file MemoryManager.cpp.
Referenced by armnn::TEST_SUITE().
void StoreMemToAllocate | ( | std::vector< BufferStorage > | bufferStorageVector, |
std::shared_ptr< ICustomAllocator > | customAllocator, | ||
size_t | typeAlignment = 0 |
||
) |
Initialization method to store in all information needed.
[in] | bufferStorageVector | - Vector of . |
[in] | customAllocator | - Pointer to . |
[in] | typeAlignment | - Optional parameter. Value of which the size of each value has to be multiple of. |
Definition at line 13 of file MemoryManager.cpp.
References armnn::IgnoreUnused().
Referenced by armnn::TEST_SUITE().