KaMPIng 0.1.0
(Near) zero-overhead C++ MPI bindings.
Loading...
Searching...
No Matches
mpi_constants.hpp File Reference

Wrapper for MPI constants. More...

#include <mpi.h>

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.