GlobalMemorySlot Class Reference
HiCR
|
HiCR::backend::lpf::GlobalMemorySlot Class Referencefinal
#include <globalMemorySlot.hpp>
Inheritance diagram for HiCR::backend::lpf::GlobalMemorySlot:

Public Member Functions | |
GlobalMemorySlot (lpf_pid_t rank, lpf_memslot_t lpfMemSlot, lpf_memslot_t lpfSwapSlot, const HiCR::GlobalMemorySlot::tag_t globalTag=0, const HiCR::GlobalMemorySlot::globalKey_t globalKey=0, std::shared_ptr< HiCR::LocalMemorySlot > sourceLocalMemorySlot=nullptr) | |
~GlobalMemorySlot () override=default | |
const lpf_pid_t | getRank () |
lpf_memslot_t | getLPFSlot () const |
lpf_memslot_t | getLPFSwapSlot () const |
![]() | |
GlobalMemorySlot (const tag_t globalTag=0, const globalKey_t globalKey=0, std::shared_ptr< HiCR::LocalMemorySlot > sourceLocalMemorySlot=nullptr) | |
__INLINE__ tag_t | getGlobalTag () const noexcept |
__INLINE__ globalKey_t | getGlobalKey () const noexcept |
__INLINE__ std::shared_ptr< HiCR::LocalMemorySlot > | getSourceLocalMemorySlot () noexcept |
Additional Inherited Members | |
![]() | |
using | globalKey_t = uint64_t |
using | tag_t = uint64_t |
Detailed Description
This class is the definition for a Memory Slot resource for the LPF backend
Constructor & Destructor Documentation
◆ GlobalMemorySlot()
|
inline |
Constructor for a MemorySlot class for the LPF backend
- Parameters
-
[in] rank Rank [in] lpfMemSlot LPF slot this HiCR slot is associated with [in] lpfSwapSlot LPF swap slot for global acquire/release calls this HiCR slot is associated with [in] globalTag The global tag associated to this global memory slot (for exchange purposes) [in] globalKey The global key associated to this global memory slot (for exchange purposes [in] sourceLocalMemorySlot The local memory slot (if applicable) from whence this global memory slot is created
◆ ~GlobalMemorySlot()
|
overridevirtualdefault |
Default destructor
Reimplemented from HiCR::GlobalMemorySlot.
Member Function Documentation
◆ getLPFSlot()
|
inline |
Get LPF slot associated with this HiCR slot
- Returns
- LPF slot
◆ getLPFSwapSlot()
|
inline |
Get LPF swap slot associated with this HiCR slot. This slot is only used for acquire/release operations on the HiCR slot.
- Returns
- LPF slot
◆ getRank()
|
inline |
Returns the rank to which this memory slot belongs
- Returns
- The rank to which this memory slot belongs
The documentation for this class was generated from the following file:
- /home/runner/work/HiCR/HiCR/include/hicr/backends/lpf/globalMemorySlot.hpp
Generated by