ArmNN
 24.02
NeonMemoryManager Class Reference

#include <BaseMemoryManager.hpp>

Inheritance diagram for NeonMemoryManager:
[legend]
Collaboration diagram for NeonMemoryManager:
[legend]

Public Member Functions

 NeonMemoryManager ()
 
virtual ~NeonMemoryManager ()
 
 NeonMemoryManager (std::unique_ptr< arm_compute::IAllocator > alloc, MemoryAffinity memoryAffinity)
 
- Public Member Functions inherited from BaseMemoryManager
 BaseMemoryManager ()
 
virtual ~BaseMemoryManager ()
 
void Acquire () override
 
void Release () override
 
 BaseMemoryManager (std::shared_ptr< arm_compute::IAllocator > alloc, MemoryAffinity memoryAffinity)
 
std::shared_ptr< arm_compute::MemoryManagerOnDemand > & GetIntraLayerManager ()
 
std::shared_ptr< arm_compute::MemoryManagerOnDemand > & GetInterLayerManager ()
 
std::shared_ptr< arm_compute::IMemoryGroup > & GetInterLayerMemoryGroup ()
 
- Public Member Functions inherited from IMemoryManager
virtual ~IMemoryManager ()
 

Protected Member Functions

std::shared_ptr< arm_compute::IMemoryGroup > CreateMemoryGroup (const std::shared_ptr< arm_compute::MemoryManagerOnDemand > &memoryManager) override
 
- Protected Member Functions inherited from BaseMemoryManager
std::shared_ptr< arm_compute::MemoryManagerOnDemand > CreateArmComputeMemoryManager (MemoryAffinity memoryAffinity)
 
- Protected Member Functions inherited from IMemoryManager
 IMemoryManager ()
 

Additional Inherited Members

- Public Types inherited from BaseMemoryManager
enum  MemoryAffinity { Buffer, Offset }
 
- Protected Attributes inherited from BaseMemoryManager
std::shared_ptr< arm_compute::IAllocator > m_Allocator
 
std::shared_ptr< arm_compute::MemoryManagerOnDemand > m_IntraLayerMemoryMgr
 
std::shared_ptr< arm_compute::MemoryManagerOnDemand > m_InterLayerMemoryMgr
 
std::shared_ptr< arm_compute::IMemoryGroup > m_InterLayerMemoryGroup
 

Detailed Description

Definition at line 60 of file BaseMemoryManager.hpp.

Constructor & Destructor Documentation

◆ NeonMemoryManager() [1/2]

NeonMemoryManager ( )
inline

Definition at line 63 of file BaseMemoryManager.hpp.

63 {}

◆ ~NeonMemoryManager()

virtual ~NeonMemoryManager ( )
inlinevirtual

Definition at line 64 of file BaseMemoryManager.hpp.

64 {}

◆ NeonMemoryManager() [2/2]

NeonMemoryManager ( std::unique_ptr< arm_compute::IAllocator >  alloc,
MemoryAffinity  memoryAffinity 
)
inline

Member Function Documentation

◆ CreateMemoryGroup()

std::shared_ptr< arm_compute::IMemoryGroup > CreateMemoryGroup ( const std::shared_ptr< arm_compute::MemoryManagerOnDemand > &  memoryManager)
overrideprotectedvirtual

Implements BaseMemoryManager.

Definition at line 93 of file BaseMemoryManager.cpp.

94 {
95  return std::make_shared<arm_compute::MemoryGroup>(memoryManager);
96 }

Referenced by NeonMemoryManager::NeonMemoryManager().


The documentation for this class was generated from the following files:
armnn::BaseMemoryManager::m_InterLayerMemoryGroup
std::shared_ptr< arm_compute::IMemoryGroup > m_InterLayerMemoryGroup
Definition: BaseMemoryManager.hpp:50
armnn::BaseMemoryManager::m_InterLayerMemoryMgr
std::shared_ptr< arm_compute::MemoryManagerOnDemand > m_InterLayerMemoryMgr
Definition: BaseMemoryManager.hpp:49
armnn::NeonMemoryManager::CreateMemoryGroup
std::shared_ptr< arm_compute::IMemoryGroup > CreateMemoryGroup(const std::shared_ptr< arm_compute::MemoryManagerOnDemand > &memoryManager) override
Definition: BaseMemoryManager.cpp:93
armnn::BaseMemoryManager::BaseMemoryManager
BaseMemoryManager()
Definition: BaseMemoryManager.hpp:33