Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::MachineShMemWinVariableCommon Class Reference

Class allowing access to the shared elements of the variable in shared memory. More...

#include <arcane/core/MachineShMemWinVariable.h>

Inheritance diagram for Arcane::MachineShMemWinVariableCommon:
Collaboration diagram for Arcane::MachineShMemWinVariableCommon:

Public Member Functions

ConstArrayView< Int32machineRanks () const
 Method allowing retrieval of ranks that possess a segment in the window.
void barrier () const
 Method allowing waiting until all processes/threads on the node call this method to continue execution.

Protected Member Functions

 MachineShMemWinVariableCommon (IVariable *var)
 Constructor.

Protected Attributes

Ref< MachineShMemWinVariableBasem_base

Detailed Description

Class allowing access to the shared elements of the variable in shared memory.

To access all properties, it is necessary to use one of the child classes:

Definition at line 54 of file MachineShMemWinVariable.h.

Constructor & Destructor Documentation

◆ MachineShMemWinVariableCommon()

Arcane::MachineShMemWinVariableCommon::MachineShMemWinVariableCommon ( IVariable * var)
explicitprotected

Constructor.

Parameters
varVariable having the property "IVariable::PInShMem".

Definition at line 38 of file MachineShMemWinVariable.cc.

References Arcane::makeRef().

Referenced by Arcane::MachineShMemWinMeshVariableScalarT< ItemType, DataType >::MachineShMemWinMeshVariableScalarT(), and Arcane::MachineShMemWinVariableArrayT< DataType >::MachineShMemWinVariableArrayT().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Function Documentation

◆ barrier()

void Arcane::MachineShMemWinVariableCommon::barrier ( ) const

Method allowing waiting until all processes/threads on the node call this method to continue execution.

Definition at line 61 of file MachineShMemWinVariable.cc.

◆ machineRanks()

ConstArrayView< Int32 > Arcane::MachineShMemWinVariableCommon::machineRanks ( ) const

Method allowing retrieval of ranks that possess a segment in the window.

Non-collective call.

Returns
A view containing the rank IDs.

Definition at line 52 of file MachineShMemWinVariable.cc.

Member Data Documentation

◆ m_base

Ref<MachineShMemWinVariableBase> Arcane::MachineShMemWinVariableCommon::m_base
protected

Definition at line 89 of file MachineShMemWinVariable.h.


The documentation for this class was generated from the following files: