OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
Public Attributes | List of all members
MasterNode< SolutionState_t, NeighborStrategy_t >::Meta_t Struct Reference

Public Attributes

std::size_t revision = 0
 
std::size_t size = 0
 

Detailed Description

template<class SolutionState_t, class NeighborStrategy_t>
struct MasterNode< SolutionState_t, NeighborStrategy_t >::Meta_t

header prefixed to the serialized data in the (single) shared window: revision together with the actual number of valid payload bytes (<= buf_size_upper_bound_). Keeping both in the same window as the payload and writing/reading them within a single fence epoch avoids tearing between "new revision" and "new data" that two independent windows could not guarantee.

Definition at line 61 of file MasterNode.h.

Member Data Documentation

◆ revision

template<class SolutionState_t , class NeighborStrategy_t >
std::size_t MasterNode< SolutionState_t, NeighborStrategy_t >::Meta_t::revision = 0

◆ size

template<class SolutionState_t , class NeighborStrategy_t >
std::size_t MasterNode< SolutionState_t, NeighborStrategy_t >::Meta_t::size = 0

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