Class allowing the creation of a memory window for a node of computation. More...
Public Member Functions | |
| virtual Int32 | sizeofOneElem () const =0 |
| Method allowing the retrieval of the size of an element in the window. | |
| virtual Span< std::byte > | segmentView ()=0 |
| Method allowing the retrieval of a view of its segment. | |
| virtual Span< std::byte > | segmentView (Int32 rank)=0 |
| Method allowing the retrieval of a view of the segment of another subdomain of the node. | |
| virtual Span< std::byte > | windowView ()=0 |
| Method allowing the retrieval of a view of the entire window. | |
| virtual Span< const std::byte > | segmentConstView () const =0 |
| Method allowing the retrieval of a view of its segment. | |
| virtual Span< const std::byte > | segmentConstView (Int32 rank) const =0 |
| Method allowing the retrieval of a view of the segment of another subdomain of the node. | |
| virtual Span< const std::byte > | windowConstView () const =0 |
| Method allowing the retrieval of a view of the entire window. | |
| virtual void | resizeSegment (Int64 new_sizeof_segment)=0 |
| Method allowing the resizing of the window segments. | |
| virtual ConstArrayView< Int32 > | machineRanks () const =0 |
| Method allowing the retrieval of the ranks that possess a segment in the window. | |
| virtual void | barrier () const =0 |
| Method allowing waiting until all processes/threads of the node call this method to continue execution. | |
Class allowing the creation of a memory window for a node of computation.
This window will be contiguous in memory and will be accessible by all processes of the node.
Definition at line 37 of file IContigMachineShMemWinBaseInternal.h.
|
pure virtual |
Method allowing waiting until all processes/threads of the node call this method to continue execution.
Implemented in Arcane::MessagePassing::HybridContigMachineShMemWinBaseInternal, Arcane::MessagePassing::Mpi::MpiContigMachineShMemWinBaseInternal, Arcane::MessagePassing::SharedMemoryContigMachineShMemWinBaseInternal, and Arcane::SequentialContigMachineShMemWinBaseInternal.
|
pure virtual |
Method allowing the 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 the segments in the window.
Implemented in Arcane::MessagePassing::HybridContigMachineShMemWinBaseInternal, Arcane::MessagePassing::Mpi::MpiContigMachineShMemWinBaseInternal, Arcane::MessagePassing::SharedMemoryContigMachineShMemWinBaseInternal, and Arcane::SequentialContigMachineShMemWinBaseInternal.
|
pure virtual |
Method allowing the resizing of the window segments.
Collective call.
The total size of the window must be less than or equal to the original size.
| new_sizeof_segment | The new size of our segment (in bytes). |
Implemented in Arcane::MessagePassing::HybridContigMachineShMemWinBaseInternal, Arcane::MessagePassing::Mpi::MpiContigMachineShMemWinBaseInternal, Arcane::MessagePassing::SharedMemoryContigMachineShMemWinBaseInternal, and Arcane::SequentialContigMachineShMemWinBaseInternal.
|
pure virtual |
Method allowing the retrieval of a view of its segment.
Implemented in Arcane::MessagePassing::HybridContigMachineShMemWinBaseInternal, Arcane::MessagePassing::Mpi::MpiContigMachineShMemWinBaseInternal, Arcane::MessagePassing::SharedMemoryContigMachineShMemWinBaseInternal, and Arcane::SequentialContigMachineShMemWinBaseInternal.
|
pure virtual |
Method allowing the retrieval of a view of the segment of another subdomain of the node.
| rank | The rank of the subdomain. |
Implemented in Arcane::MessagePassing::HybridContigMachineShMemWinBaseInternal, Arcane::MessagePassing::Mpi::MpiContigMachineShMemWinBaseInternal, Arcane::MessagePassing::SharedMemoryContigMachineShMemWinBaseInternal, and Arcane::SequentialContigMachineShMemWinBaseInternal.
|
pure virtual |
Method allowing the retrieval of a view of its segment.
Implemented in Arcane::MessagePassing::HybridContigMachineShMemWinBaseInternal, Arcane::MessagePassing::Mpi::MpiContigMachineShMemWinBaseInternal, Arcane::MessagePassing::SharedMemoryContigMachineShMemWinBaseInternal, and Arcane::SequentialContigMachineShMemWinBaseInternal.
|
pure virtual |
Method allowing the retrieval of a view of the segment of another subdomain of the node.
| rank | The rank of the subdomain. |
Implemented in Arcane::MessagePassing::HybridContigMachineShMemWinBaseInternal, Arcane::MessagePassing::Mpi::MpiContigMachineShMemWinBaseInternal, Arcane::MessagePassing::SharedMemoryContigMachineShMemWinBaseInternal, and Arcane::SequentialContigMachineShMemWinBaseInternal.
|
pure virtual |
Method allowing the retrieval of the size of an element in the window.
Implemented in Arcane::MessagePassing::HybridContigMachineShMemWinBaseInternal, Arcane::MessagePassing::Mpi::MpiContigMachineShMemWinBaseInternal, Arcane::MessagePassing::SharedMemoryContigMachineShMemWinBaseInternal, and Arcane::SequentialContigMachineShMemWinBaseInternal.
|
pure virtual |
Method allowing the retrieval of a view of the entire window.
Implemented in Arcane::MessagePassing::HybridContigMachineShMemWinBaseInternal, Arcane::MessagePassing::Mpi::MpiContigMachineShMemWinBaseInternal, Arcane::MessagePassing::SharedMemoryContigMachineShMemWinBaseInternal, and Arcane::SequentialContigMachineShMemWinBaseInternal.
|
pure virtual |
Method allowing the retrieval of a view of the entire window.
Implemented in Arcane::MessagePassing::HybridContigMachineShMemWinBaseInternal, Arcane::MessagePassing::Mpi::MpiContigMachineShMemWinBaseInternal, Arcane::MessagePassing::SharedMemoryContigMachineShMemWinBaseInternal, and Arcane::SequentialContigMachineShMemWinBaseInternal.