| 39 | } |
| 40 | |
| 41 | void MemoryManager::Deallocate() |
| 42 | { |
| 43 | for (auto& m_AllocatorBufferStoragePair : m_AllocatorBufferStoragePairVector) |
| 44 | { |
| 45 | auto& allocator = m_AllocatorBufferStoragePair.first; |
| 46 | for (auto&& bufferStorage : m_AllocatorBufferStoragePair.second) |
| 47 | { |
| 48 | allocator.m_CustomAllocator->free(bufferStorage.m_Buffer); |
| 49 | } |
| 50 | } |
| 51 | } |
| 52 | |
| 53 | } // namespace armnn |
no test coverage detected