|
KaMPIng 0.2.1
(Near) zero-overhead MPI wrapper for C++
|
Constructs a contiguous MPI type of N elements of type T using MPI_Type_contiguous.
More...
#include <contiguous_type_fwd.hpp>

Static Public Member Functions | |
| static MPI_Datatype | data_type () |
Returns the MPI_Datatype for a contiguous block of N elements of type T. | |
Static Public Attributes | |
| static constexpr TypeCategory | category = TypeCategory::contiguous |
| The type's TypeCategory. | |
| static constexpr bool | has_to_be_committed |
| Whether the type must be committed before use. | |
Constructs a contiguous MPI type of N elements of type T using MPI_Type_contiguous.
| T | The element type. |
| N | The number of elements. |
| Lookup | The lookup policy used to resolve the MPI_Datatype for T. Defaults to type_dispatcher_lookup, which uses kamping::types::mpi_type_traits. |
|
staticconstexpr |
Whether the type must be committed before use.