![]() |
Allium
0.1.0
|
Wraps an MPI communicator to make MPI easier to use. More...
#include <comm.hpp>
Classes | |
| struct | RecvInfo |
| Information about the data that was just received. More... | |
Public Member Functions | |
| Comm (::MPI_Comm handle) | |
| Create a Comm from an MPI_Comm handle. | |
| bool | operator!= (const Comm &other) |
| int | rank () const |
| int | size () const |
| Comm | dup () const |
| Comm | split (int color, int key) const |
| void | free () |
| void | barrier (void) |
| RecvInfo | recv (Range< 2 > &p, int src, int tag) |
| RecvInfo | recv (int *data, int max_elements, int src, int tag) |
| void | send (const Range< 2 > &p, int dest, int tag) |
| void | send (int *data, int elements, int dest, int tag) |
| std::vector< long long > | sum_exscan (std::vector< long long > buf) |
| MPI_Comm | handle () |
Static Public Member Functions | |
| static Comm | world () |
Wraps an MPI communicator to make MPI easier to use.
The communicator class.