|
ADS
Algorithms and Data Structures
|
The mailbox of the processes of MPI, beyond the book, compiled only with ADS_WITH_MPI. More...
Files | |
| file | ADS/distributed/MPIMailbox.h |
| The mailbox of the processes of MPI, beyond the book, compiled only with ADS_WITH_MPI: the mailbox of the workers of Mailbox.h with a process of a communicator as each worker, and with the detection of the termination of the computation by the four counters of Mattern (see Messages, owners and termination). | |
Classes | |
| struct | ADS::MPICodec< Msg > |
| the customization point of the messages that are not trivially copyable for MPIMailbox: a specialization MPICodec< Msg > has static void encode( const Msg & x , std::vector< std::byte > & out ), which appends the bytes of \( x \) to out, and static Msg decode( std::span< const std::byte > b ), which rebuilds the message from exactly the bytes that encode() appended; ADS gives those of std::string and of std::vector< T > for a trivially copyable \( T \) More... | |
| struct | ADS::MPICodec< std::string > |
| the bytes of a string More... | |
| struct | ADS::MPICodec< std::vector< T > > |
| the bytes of a vector of trivially copyable items More... | |
| class | ADS::MPIByteMailbox |
| the mailbox of the processes of a communicator for messages of bytes, each with a tag of its own, in batches of records More... | |
| class | ADS::MPIMailbox< Msg, bool > |
| the mailbox of the processes of a communicator, with outboxes of batches and the detection of the termination by the four counters of Mattern: for a trivially copyable Msg, the batches are arrays of messages, copied as bytes; otherwise [see the specialization below] each message is a record of the bytes that MPICodec< Msg > gives More... | |
| class | ADS::MPIMailbox< Msg, false > |
| the mailbox of the processes of a communicator for the messages that are not trivially copyable, each the record of the bytes that MPICodec< Msg > gives, on an MPIByteMailbox (the same waves, the same stop and the same leftovers()) More... | |
The mailbox of the processes of MPI, beyond the book, compiled only with ADS_WITH_MPI.
The definitions, the invariants and the costs of the area are in Theory of distributed algorithms.