KaMPIng 0.1.1
Flexible and (near) zero-overhead C++ bindings for MPI
Loading...
Searching...
No Matches
mpi_constants.hpp File Reference

Wrapper for MPI constants. More...

#include <mpi.h>
Include dependency graph for mpi_constants.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Enumerations

enum class  kamping::CommunicatorComparisonResult : int { identical = MPI_IDENT , congruent = MPI_CONGRUENT , similar = MPI_SIMILAR , unequal = MPI_UNEQUAL }
 Wraps the possible results when calling MPI_Comm_compare on two MPI communicators comm1 and comm2. More...
 

Detailed Description

Wrapper for MPI constants.

Enumeration Type Documentation

◆ CommunicatorComparisonResult

enum class kamping::CommunicatorComparisonResult : int
strong

Wraps the possible results when calling MPI_Comm_compare on two MPI communicators comm1 and comm2.

Enumerator
identical 

Result if comm1 and comm2 are handles for same object.

congruent 

Result if the underlying groups of comm1 and comm2 are identical but the communicators's context is different.

similar 

Result if the underlying groups contain the same ranks but their order differs.

unequal 

Result otherwise.