MemoryManager Class Reference
HiCR
|
HiCR::backend::ascend::MemoryManager Class Referencefinal
#include <memoryManager.hpp>
Inheritance diagram for HiCR::backend::ascend::MemoryManager:

Public Member Functions | |
MemoryManager () | |
~MemoryManager ()=default | |
![]() | |
__INLINE__ std::shared_ptr< LocalMemorySlot > | allocateLocalMemorySlot (const std::shared_ptr< MemorySpace > &memorySpace, const size_t size) |
virtual std::shared_ptr< LocalMemorySlot > | registerLocalMemorySlot (const std::shared_ptr< HiCR::MemorySpace > &memorySpace, void *const ptr, const size_t size) |
__INLINE__ void | deregisterLocalMemorySlot (const std::shared_ptr< HiCR::LocalMemorySlot > &memorySlot) |
__INLINE__ void | memset (const std::shared_ptr< HiCR::LocalMemorySlot > &memorySlot, int value, size_t size) |
__INLINE__ void | freeLocalMemorySlot (const std::shared_ptr< HiCR::LocalMemorySlot > &memorySlot) |
Additional Inherited Members | |
![]() | |
virtual std::shared_ptr< HiCR::LocalMemorySlot > | allocateLocalMemorySlotImpl (std::shared_ptr< HiCR::MemorySpace > memorySpace, const size_t size)=0 |
virtual std::shared_ptr< LocalMemorySlot > | registerLocalMemorySlotImpl (std::shared_ptr< HiCR::MemorySpace > memorySpace, void *const ptr, const size_t size)=0 |
virtual void | memsetImpl (const std::shared_ptr< HiCR::LocalMemorySlot > memorySlot, int value, size_t size) |
virtual void | freeLocalMemorySlotImpl (std::shared_ptr< HiCR::LocalMemorySlot > memorySlot)=0 |
virtual void | deregisterLocalMemorySlotImpl (std::shared_ptr< HiCR::LocalMemorySlot > memorySlot)=0 |
Detailed Description
Implementation of the Memory Manager for the Ascend backend.
- Note
- Supported memory spaces:
- Ascend
- HWLoC
Constructor & Destructor Documentation
◆ MemoryManager()
|
inline |
Constructor for the ascend memory manager class for the Ascend backend.
◆ ~MemoryManager()
|
virtualdefault |
Default destructor
Reimplemented from HiCR::MemoryManager.
The documentation for this class was generated from the following file:
- /home/runner/work/HiCR/HiCR/include/hicr/backends/ascend/memoryManager.hpp
Generated by