|
KaMPIng 0.2.1
(Near) zero-overhead MPI wrapper for C++
|
Lookup policy for KaMPIng that resolves MPI_Datatypes via kamping::mpi_type_traits. More...
#include <mpi_datatype.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 KaMPIng can resolve an MPI_Datatype for T. | |
Lookup policy for KaMPIng that resolves MPI_Datatypes via kamping::mpi_type_traits.
Unlike the module-level kamping::types::type_dispatcher_lookup, this policy also covers trivially-copyable types not matched by kamping::types::type_dispatcher() (i.e., those handled via types::byte_serialized).