#include <MemoryManager.h>
Definition at line 56 of file MemoryManager.h.
◆ DynamicMemoryManager()
onert::backend::basic::DynamicMemoryManager::DynamicMemoryManager |
( |
| ) |
|
|
default |
◆ ~DynamicMemoryManager()
virtual onert::backend::basic::DynamicMemoryManager::~DynamicMemoryManager |
( |
| ) |
|
|
virtualdefault |
◆ allocate()
std::shared_ptr< basic::Allocator > onert::backend::basic::DynamicMemoryManager::allocate |
( |
const ITensor * |
tensor, |
|
|
uint32_t |
capacity |
|
) |
| |
◆ deallocate() [1/2]
void onert::backend::basic::DynamicMemoryManager::deallocate |
( |
const ITensor * |
tensor | ) |
|
◆ deallocate() [2/2]
void onert::backend::basic::DynamicMemoryManager::deallocate |
( |
void |
| ) |
|
Definition at line 92 of file MemoryManager.cc.
93{
94 for (auto &&mem_alloc : _mem_alloc_map)
95 {
96
97 mem_alloc.second->release();
98 }
99
100 _mem_alloc_map.clear();
101}
The documentation for this class was generated from the following files: