ONE - On-device Neural Engine
|
#include <MemoryManager.h>
Public Member Functions | |
virtual void | allocate_memory (luci_interpreter::Tensor &tensor)=0 |
virtual void | release_memory (luci_interpreter::Tensor &tensor)=0 |
virtual | ~IMemoryManager ()=default |
Definition at line 26 of file MemoryManager.h.
|
virtualdefault |
|
pure virtual |
Implemented in luci_interpreter::BuddyMemoryManager, luci_interpreter::SimpleMemoryManager, luci_interpreter::StaticMemoryManager, and luci_interpreter::TestMemoryManager.
Referenced by luci_interpreter::RuntimeGraph::TensorAllocPlan::allocate(), luci_interpreter::RuntimeGraph::configureAllocations(), luci_interpreter::RuntimeGraph::configureGraphInput(), luci_interpreter::GraphLoader::initInputOutputTensors(), luci_interpreter::GraphLoader::loadTensors(), luci_interpreter::kernels::testing::makeInputTensor(), luci_interpreter::kernels::testing::makeInputTensor(), and luci_interpreter::kernels::testing::makeInputTensor().
|
pure virtual |
Implemented in luci_interpreter::BuddyMemoryManager, luci_interpreter::SimpleMemoryManager, luci_interpreter::StaticMemoryManager, and luci_interpreter::TestMemoryManager.
Referenced by luci_interpreter::RuntimeGraph::configureGraphInput(), luci_interpreter::RuntimeGraph::TensorAllocPlan::deallocate(), luci_interpreter::RuntimeGraph::resetOutputTensorsData(), luci_interpreter::RuntimeGraph::resetTensorData(), and luci_interpreter::RuntimeGraph::~RuntimeGraph().