Class allowing access to the shared elements of the variable in shared memory. More...
#include <arcane/core/MachineShMemWinVariable.h>
Public Member Functions | |
| ConstArrayView< Int32 > | machineRanks () 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< MachineShMemWinVariableBase > | m_base |
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.
|
explicitprotected |
Constructor.
| var | Variable 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().
| 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.
| ConstArrayView< Int32 > Arcane::MachineShMemWinVariableCommon::machineRanks | ( | ) | const |
Method allowing retrieval of ranks that possess a segment in the window.
Non-collective call.
Definition at line 52 of file MachineShMemWinVariable.cc.
|
protected |
Definition at line 89 of file MachineShMemWinVariable.h.