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

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.
 

Detailed Description

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


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