#include "mpi.h"
#include <cstddef>
#include <stdexcept>
#include <iostream>
#include <vector>
#include <hpp/config.h>
Go to the source code of this file.
|
| template<typename T > |
| MPI_Datatype | hpp::MPIType () |
| | Get the MPI datatype from the C++ type. More...
|
| |
| template<typename T > |
| T | hpp::MPIMin (const T &localVal, MPI_Comm comm) |
| |
| template<typename T > |
| T | hpp::MPIMax (const T &localVal, MPI_Comm comm) |
| |
| template<typename T > |
| T | hpp::MPISum (const T &localVal, MPI_Comm comm) |
| |
| template<typename T > |
| std::vector< T > | hpp::MPIConcatOnRoot (T localVal, MPI_Comm comm) |
| |
| template<typename T > |
| std::vector< T > | hpp::MPIConcatOnRoot (std::vector< T > localVec, MPI_Comm comm) |
| |
| template<typename T > |
| T | hpp::MPIBroadcastFromRoot (T rootVal, MPI_Comm comm) |
| |
| template<typename T > |
| std::vector< T > | hpp::MPIBroadcastFromRoot (std::vector< T > rootVec, MPI_Comm comm) |
| |
| template<typename T > |
| std::vector< T > | hpp::MPISplitVectorEvenly (const std::vector< T > &rootVec, MPI_Comm comm) |
| |
| template<typename T > |
| std::vector< T > | hpp::MPISplitVectorEvenly (const std::vector< T > &rootVec, MPI_Comm comm, MPI_Datatype dtype) |
| |
| bool | hpp::MPIAllTrue (bool condition, MPI_Comm comm) |
| | Determine if condition is true for all processes. More...
|
| |