24namespace kamping::types {
31struct type_dispatcher_lookup;
38template <
typename T,
size_t N,
typename Lookup = type_dispatcher_lookup>
STL-compatible allocator for requesting memory using the builtin MPI allocator.
Definition allocator.hpp:32
TypeCategory
Type groups as defined in Section 6.9.2 of the MPI 4.0 standard.
Definition builtin_types.hpp:32
static MPI_Datatype data_type()
Returns the MPI_Datatype for a contiguous block of N elements of type T.
Definition contiguous_type.hpp:36
constexpr bool category_has_to_be_committed(TypeCategory category)
Returns whether an MPI_Datatype of the given category must be committed before use.
Definition builtin_types.hpp:35
Mapping of C++ datatypes to builtin MPI types.
Constructs a type serialized as a sequence of sizeof(T) bytes using MPI_BYTE.
Definition contiguous_type_fwd.hpp:48
Constructs a contiguous MPI type of N elements of type T using MPI_Type_contiguous.
Definition contiguous_type_fwd.hpp:39
static constexpr TypeCategory category
The type's TypeCategory.
Definition contiguous_type_fwd.hpp:40
static constexpr bool has_to_be_committed
Whether the type must be committed before use.
Definition contiguous_type_fwd.hpp:41