|
KaMPIng 0.2.1
(Near) zero-overhead MPI wrapper for C++
|
Default lookup policy for contiguous_type and struct_type. More...
#include <mpi_type_traits.hpp>
Static Public Member Functions | |
| template<typename T > | |
| static MPI_Datatype | get () |
Returns the MPI_Datatype for T. | |
Static Public Attributes | |
| template<typename T > | |
| static constexpr bool | has_type_v = has_static_type_v<T> |
true if the Lookup can resolve an MPI_Datatype for T. | |
Default lookup policy for contiguous_type and struct_type.
Resolves the MPI_Datatype for a type T by consulting kamping::types::mpi_type_traits. Users of the kamping-types module can extend the supported types by specializing kamping::types::mpi_type_traits. Upper-level frameworks may supply an alternative Lookup policy (e.g., to add a byte-serialization fallback).