LocalMemorySlot Class Reference
HiCR
|
HiCR::backend::mpi::LocalMemorySlot Class Referencefinal
#include <localMemorySlot.hpp>
Inheritance diagram for HiCR::backend::mpi::LocalMemorySlot:

Public Member Functions | |
LocalMemorySlot (void *const pointer, const size_t size, std::shared_ptr< HiCR::MemorySpace > memorySpace) | |
~LocalMemorySlot () override=default | |
![]() | |
LocalMemorySlot (void *const pointer, const size_t size, std::shared_ptr< HiCR::MemorySpace > memorySpace=nullptr) | |
__INLINE__ void *& | getPointer () noexcept |
__INLINE__ size_t | getSize () const noexcept |
__INLINE__ std::shared_ptr< HiCR::MemorySpace > | getMemorySpace () const noexcept |
__INLINE__ size_t | getMessagesRecv () const noexcept |
__INLINE__ size_t | getMessagesSent () const noexcept |
Friends | |
class | HiCR::backend::mpi::CommunicationManager |
Detailed Description
This class represents an abstract definition for a Memory Slot resource in HiCR that:
- Represents a contiguous segment within a memory space, with a starting address and a size
Constructor & Destructor Documentation
◆ LocalMemorySlot()
|
inline |
Constructor for a MemorySlot class for the MPI backend
- Parameters
-
[in] pointer If this is a local slot (same rank as this the running process), this pointer indicates the address of the local memory segment [in] size The size (in bytes) of the memory slot, assumed to be contiguous [in] memorySpace The memory space from whence this memory slot was created
◆ ~LocalMemorySlot()
|
overridevirtualdefault |
Default destructor
Reimplemented from HiCR::LocalMemorySlot.
The documentation for this class was generated from the following file:
- /home/runner/work/HiCR/HiCR/include/hicr/backends/mpi/localMemorySlot.hpp
Generated by