Class allowing the creation of a shared memory window between the subdomains of the same node. The segments of this window will be contiguous in memory. More...
#include <arcane/core/ContigMachineShMemWin.h>
Public Member Functions | |
| ContigMachineShMemWin (IParallelMng *pm, Int64 nb_elem_segment) | |
| Constructor. | |
| Span< Type > | segmentView () |
| Method allowing retrieval of a view on our window segment memory. | |
| Span< Type > | segmentView (Int32 rank) |
| Method allowing retrieval of a view on the window segment memory of another subdomain of the node. | |
| Span< Type > | windowView () |
| Method allowing retrieval of a view on the entire memory window. | |
| Span< const Type > | segmentConstView () const |
| Method allowing retrieval of a constant view on our segment memory window. | |
| Span< const Type > | segmentConstView (Int32 rank) const |
| Method allowing retrieval of a constant view on the segment of memory window of another subdomain of the node. | |
| Span< const Type > | windowConstView () const |
| Method allowing retrieval of a constant view on the entire window memory. | |
| void | resizeSegment (Integer new_nb_elem) |
| Method allowing resizing of the window segments. Collective call. | |
| ConstArrayView< Int32 > | machineRanks () const |
| Method allowing retrieval of the ranks that possess a segment in the window. | |
| void | barrier () const |
| Method allowing waiting until all processes/threads of the node call this method to continue execution. | |
Class allowing the creation of a shared memory window between the subdomains of the same node. The segments of this window will be contiguous in memory.
| Type | The type of the window elements. |
Definition at line 40 of file ContigMachineShMemWin.h.
|
inline |
Constructor.
| pm | The ParallelMng containing the node processes. |
| nb_elem_segment | The number of elements for the segment of this subdomain. |
Definition at line 49 of file ContigMachineShMemWin.h.
|
inline |
Method allowing waiting until all processes/threads of the node call this method to continue execution.
Definition at line 153 of file ContigMachineShMemWin.h.
|
inline |
Method allowing retrieval of the ranks that possess a segment in the window.
The order of the processes in the returned view corresponds to the order of segments in the window.
Definition at line 144 of file ContigMachineShMemWin.h.
|
inline |
Method allowing resizing of the window segments. Collective call.
The total size of the window must be less than or equal to the original size.
| new_nb_elem | The new size of our segment. |
Definition at line 130 of file ContigMachineShMemWin.h.
|
inline |
Method allowing retrieval of a constant view on our segment memory window.
Definition at line 94 of file ContigMachineShMemWin.h.
References Arcane::asSpan().
|
inline |
Method allowing retrieval of a constant view on the segment of memory window of another subdomain of the node.
| rank | The rank of the subdomain. |
Definition at line 106 of file ContigMachineShMemWin.h.
References Arcane::asSpan().
|
inline |
Method allowing retrieval of a view on our window segment memory.
Definition at line 61 of file ContigMachineShMemWin.h.
References Arcane::asSpan().
|
inline |
Method allowing retrieval of a view on the window segment memory of another subdomain of the node.
| rank | The rank of the subdomain. |
Definition at line 73 of file ContigMachineShMemWin.h.
References Arcane::asSpan().
|
inline |
Method allowing retrieval of a constant view on the entire window memory.
Definition at line 117 of file ContigMachineShMemWin.h.
References Arcane::asSpan().
|
inline |
Method allowing retrieval of a view on the entire memory window.
Definition at line 83 of file ContigMachineShMemWin.h.
References Arcane::asSpan().