MCPcopy Create free account
hub / github.com/ARM-software/armnn / StoreMemToAllocate

Method StoreMemToAllocate

src/backends/backendsCommon/MemoryManager.cpp:13–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11{
12
13void MemoryManager::StoreMemToAllocate(std::vector<BufferStorage> bufferStorageVector,
14 std::shared_ptr<ICustomAllocator> customAllocator,
15 const size_t typeAlignment)
16{
17 IgnoreUnused(typeAlignment);
18 m_AllocatorBufferStoragePairVector.emplace_back(std::make_pair<Allocator, std::vector<BufferStorage>>(
19 Allocator{customAllocator},
20 std::move(bufferStorageVector)));
21}
22
23void MemoryManager::Allocate()
24{

Callers 2

LoadedNetwork.cppFile · 0.80

Calls 1

IgnoreUnusedFunction · 0.50

Tested by

no test coverage detected