KaMPIng 0.2.1
(Near) zero-overhead MPI wrapper for C++
Loading...
Searching...
No Matches
kamping::kamping_lookup Struct Reference

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.
 

Detailed Description

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).


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