KaMPIng 0.1.0
(Near) zero-overhead C++ MPI bindings.
Loading...
Searching...
No Matches
kamping::contiguous_type< T, N > Struct Template Reference

Constructs an contiguous type of size N from type T using MPI_Type_contiguous. More...

#include <mpi_datatype.hpp>

Inheritance diagram for kamping::contiguous_type< T, N >:
kamping::byte_serialized< std::pair< First, Second > > kamping::byte_serialized< std::tuple< Ts... > > kamping::mpi_type_traits< std::pair< First, Second >, std::enable_if_t< has_static_type_v< First > &&has_static_type_v< Second > > > kamping::mpi_type_traits< std::tuple< Ts... >, std::enable_if_t<(has_static_type_v< Ts > &&...)> >

Static Public Member Functions

static MPI_Datatype data_type ()
 The MPI_Datatype corresponding to the type.
 

Static Public Attributes

static constexpr TypeCategory category = TypeCategory::contiguous
 
static constexpr bool has_to_be_committed = category_has_to_be_committed(category)
 Whether the type has to be committed before it can be used in MPI calls.
 

Detailed Description

template<typename T, size_t N>
struct kamping::contiguous_type< T, N >

Constructs an contiguous type of size N from type T using MPI_Type_contiguous.

Member Data Documentation

◆ category

template<typename T , size_t N>
constexpr TypeCategory kamping::contiguous_type< T, N >::category = TypeCategory::contiguous
staticconstexpr

The category of the type.


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