Chi-Tech
chi_mpi_utils_map_all2all.h File Reference
#include <map>
#include <vector>
#include <type_traits>
#include "chi_runtime.h"
#include "chi_mpi.h"

Go to the source code of this file.

Namespaces

namespace  chi_mpi_utils
 

Functions

template<typename K , class T >
std::map< K, std::vector< T > > chi_mpi_utils::MapAllToAll (const std::map< K, std::vector< T > > &pid_data_pairs, const MPI_Datatype data_mpi_type, const MPI_Comm communicator=Chi::mpi.comm)