Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

sc::MsgMemoryGrp - A MsgMemoryGrp that initializes its data using a messagegrp.

Author

       Generated automatically by Doxygen for MPQC from the source code.

Version 2.3.1                                    Sun Oct 4 2020                              sc::MsgMemoryGrp(3)

Detailed Description

       A MsgMemoryGrp that initializes its data using a messagegrp.

Member Function Documentation

voidsc::MsgMemoryGrp::set_localsize(size_t)[virtual]
       Set the size of locally held memory. When memory is accessed using a global offset counting starts at
       node 0 and proceeds up to node n() - 1.

       Implements sc::MemoryGrp.

       Reimplemented in sc::ShmMemoryGrp, and sc::RDMAMemoryGrp.

   voidsc::MsgMemoryGrp::sync()[virtual]
       Synchronizes all the nodes. This is useful after remote memory writes to be certain that all of the
       writes have completed and the data can be accessed locally, for example.

       Implements sc::MemoryGrp.

       Reimplemented in sc::MTMPIMemoryGrp.

Name

       sc::MsgMemoryGrp - A MsgMemoryGrp that initializes its data using a messagegrp.

Synopsis

       #include <memmsg.h>

       Inherits sc::MemoryGrp.

       Inherited by sc::ActiveMsgMemoryGrp, sc::RDMAMemoryGrp, and sc::ShmMemoryGrp.

   PublicMemberFunctionsMsgMemoryGrp (const Ref< MessageGrp > &msg)
       MsgMemoryGrp (const Ref< KeyVal > &keyval)
       void set_localsize (size_t localsize)
           Set the size of locally held memory.
       void sync ()
           Synchronizes all the nodes.

   ProtectedAttributesRef< MessageGrp > msg_AdditionalInheritedMembers

See Also