KaMPIng 0.1.0
(Near) zero-overhead C++ MPI bindings.
Loading...
Searching...
No Matches
kamping::internal::RankDataBuffer< rank_type, parameter_type > Class Template Reference

Encapsulates the rank of a PE. This is needed for p2p communication and rooted MPI collectives like MPI_Gather. More...

#include <parameter_objects.hpp>

Detailed Description

template<RankType rank_type, ParameterType parameter_type>
class kamping::internal::RankDataBuffer< rank_type, parameter_type >

Encapsulates the rank of a PE. This is needed for p2p communication and rooted MPI collectives like MPI_Gather.

This is a specialized DataBuffer. Its main functionality is to provide ease-of-use functionality in the form of the methods rank() and rank_signed(), which return the encapsulated rank and are easier to read in the code.


The documentation for this class was generated from the following file: