mpi_typetrait in replacement

This commit is contained in:
Joachim Schoeberl 2023-09-06 08:32:32 +02:00
parent f756aadf32
commit 8066fb0e9c

View File

@ -486,6 +486,9 @@ namespace ngcore
inline void MPI_Type_contiguous ( int, MPI_Datatype, MPI_Datatype*) { ; }
inline void MPI_Type_commit ( MPI_Datatype * ) { ; }
template <class T> struct MPI_typetrait {
static MPI_Datatype MPIType () { return -1; } };
};
template <class T, class T2=void>
inline MPI_Datatype GetMPIType () { return -1; }