sc::MsgMemoryGrp(3)
π sc::MsgMemoryGrp(3) π
okay bestie, welcome to the glow-up of the sc::MsgMemoryGrp(3) page from the MPQC manual β¨ this one's all about a MsgMemoryGrp that initializes its data using a messagegrp, and honestly? it's giving foundational. let's get into it π«Ά
πΈ NAME πΈ
sc::MsgMemoryGrp β a MsgMemoryGrp that initializes its data using a messagegrp. that's literally the whole vibe, no cap π
π SYNOPSIS π
#include <memmsg.h>
so first things first: it Inherits sc::MemoryGrp. family tree moment π
and it's Inherited by sc::ActiveMsgMemoryGrp, sc::RDMAMemoryGrp, and sc::ShmMemoryGrp β yes bestie, this one's the parent of three whole classes, main character energy fr fr π
β¨ Public Member Functions β¨
MsgMemoryGrp(const Ref<MessageGrp>& msg)β constructor #1, takes aRefto aMessageGrp, iconic π¦MsgMemoryGrp(const Ref<KeyVal>& keyval)β constructor #2, this one's aRefto aKeyVal, lowkey a different flavor πvoid set_localsize(size_t localsize)β sets the size of locally held memory, periodt πvoid sync()β synchronizes all the nodes, we love a group effort π
πΈ Protected Attributes πΈ
Ref<MessageGrp> msg_β theMessageGrpref chillin' in protected-attribute land π
π Additional Inherited Members π
there's more where that came from β this class also carries all the additional inherited members, iykyk (check the parent class docs for the full set) β¨
π Detailed Description π
A MsgMemoryGrp that initializes its data using a messagegrp. literally what it says on the tin, and we stan a class that knows exactly what it is π
π¦ Member Function Documentation π¦
πΈ void sc::MsgMemoryGrp::set_localsize(size_t) [virtual] πΈ
Set the size of locally held memory. and here's the detail that matters β when memory is accessed using a global offset, counting starts at node 0 and proceeds up to node n() - 1. write that down bestie, that's the whole map πΊοΈβ¨
Implements sc::MemoryGrp.
Reimplemented in sc::ShmMemoryGrp, and sc::RDMAMemoryGrp. look at the legacy, we love to see it π
π void sc::MsgMemoryGrp::sync() [virtual] π
Synchronizes all the nodes. literally so useful β this one's your bestie after remote memory writes, when you need to be certain that all of the writes have completed and the data can be accessed locally, for example. trust the sync, fr fr π«Ά
Implements sc::MemoryGrp.
Reimplemented in sc::MTMPIMemoryGrp.
π Author π
Generated automatically by Doxygen for MPQC from the source code. so like... not written by a human hand, but we're serving it anyway π β¨
π quick vibe check: this page is auto-generated from the source, so if something looks off, that's a source-code situation, not a typo situation, no cap.
and that's the whole page, bestie!! π you ate. stay iconic, keep syncing your nodes, and remember:
Version 2.3.1 π Sun Oct 4 2020 π β that's the source, version and date from the footer, preserved with love π«Άπ
bye bestie, go read some more manpages, mwah ππ
π¦ where this page comes from
- ubuntu jammy: libsc-doc 2.3.1-21
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms