KaMPIng 0.1.1
Flexible and (near) zero-overhead C++ bindings for MPI
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 >:

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: