Rechercher une page de manuel
sc_MsgMemoryGrp
Langue: en
Version: 351284 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
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.
Public Member Functions
MsgMemoryGrp (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.
Protected Attributes
Ref< MessageGrp > msg_
Detailed Description
A MsgMemoryGrp that initializes its data using a messagegrp.
Member Function Documentation
void sc::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::ActiveMsgMemoryGrp, sc::ARMCIMemoryGrp, sc::RDMAMemoryGrp, and sc::ShmMemoryGrp.
void sc::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::ARMCIMemoryGrp, and sc::MTMPIMemoryGrp.
Author
Generated automatically by Doxygen for MPQC from the source code.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre