MemoryManager Class Reference

HiCR: HiCR::backend::ascend::MemoryManager Class Reference
HiCR
HiCR::backend::ascend::MemoryManager Class Referencefinal

#include <memoryManager.hpp>

Inheritance diagram for HiCR::backend::ascend::MemoryManager:
HiCR::MemoryManager

Public Member Functions

 MemoryManager ()
 
 ~MemoryManager ()=default
 
- Public Member Functions inherited from HiCR::MemoryManager
__INLINE__ std::shared_ptr< LocalMemorySlotallocateLocalMemorySlot (const std::shared_ptr< MemorySpace > &memorySpace, const size_t size)
 
virtual std::shared_ptr< LocalMemorySlotregisterLocalMemorySlot (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

- Protected Member Functions inherited from HiCR::MemoryManager
virtual std::shared_ptr< HiCR::LocalMemorySlotallocateLocalMemorySlotImpl (std::shared_ptr< HiCR::MemorySpace > memorySpace, const size_t size)=0
 
virtual std::shared_ptr< LocalMemorySlotregisterLocalMemorySlotImpl (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()

HiCR::backend::ascend::MemoryManager::MemoryManager ( )
inline

Constructor for the ascend memory manager class for the Ascend backend.

◆ ~MemoryManager()

HiCR::backend::ascend::MemoryManager::~MemoryManager ( )
virtualdefault

Default destructor

Reimplemented from HiCR::MemoryManager.


The documentation for this class was generated from the following file: