Itoyori  v0.0.1
mpi_util.hpp File Reference
#include <mpi.h>
#include "ityr/common/util.hpp"
Include dependency graph for mpi_util.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ityr::common::mpi_initializer
 

Namespaces

 ityr
 
 ityr::common
 

Macros

#define ITYR_DEBUG_UCX   0
 

Functions

template<typename T >
MPI_Datatype ityr::common::mpi_type ()
 
template<>
MPI_Datatype ityr::common::mpi_type< int > ()
 
template<>
MPI_Datatype ityr::common::mpi_type< unsigned int > ()
 
template<>
MPI_Datatype ityr::common::mpi_type< long > ()
 
template<>
MPI_Datatype ityr::common::mpi_type< unsigned long > ()
 
template<>
MPI_Datatype ityr::common::mpi_type< bool > ()
 
template<>
MPI_Datatype ityr::common::mpi_type< void * > ()
 
int ityr::common::mpi_comm_rank (MPI_Comm comm)
 
int ityr::common::mpi_comm_size (MPI_Comm comm)
 
void ityr::common::mpi_barrier (MPI_Comm comm)
 
MPI_Request ityr::common::mpi_ibarrier (MPI_Comm comm)
 
template<typename T >
void ityr::common::mpi_send (const T *buf, std::size_t count, int target_rank, int tag, MPI_Comm comm)
 
template<typename T >
MPI_Request ityr::common::mpi_isend (const T *buf, std::size_t count, int target_rank, int tag, MPI_Comm comm)
 
template<typename T >
void ityr::common::mpi_send_value (const T &value, int target_rank, int tag, MPI_Comm comm)
 
template<typename T >
void ityr::common::mpi_recv (T *buf, std::size_t count, int target_rank, int tag, MPI_Comm comm)
 
template<typename T >
MPI_Request ityr::common::mpi_irecv (T *buf, std::size_t count, int target_rank, int tag, MPI_Comm comm)
 
template<typename T >
ityr::common::mpi_recv_value (int target_rank, int tag, MPI_Comm comm)
 
template<typename T >
void ityr::common::mpi_bcast (T *buf, std::size_t count, int root_rank, MPI_Comm comm)
 
template<typename T >
ityr::common::mpi_bcast_value (const T &value, int root_rank, MPI_Comm comm)
 
template<typename T >
void ityr::common::mpi_reduce (const T *sendbuf, T *recvbuf, std::size_t count, int root_rank, MPI_Comm comm, MPI_Op op=MPI_SUM)
 
template<typename T >
ityr::common::mpi_reduce_value (const T &value, int root_rank, MPI_Comm comm, MPI_Op op=MPI_SUM)
 
template<typename T >
void ityr::common::mpi_allreduce (const T *sendbuf, T *recvbuf, std::size_t count, MPI_Comm comm, MPI_Op op=MPI_SUM)
 
template<typename T >
ityr::common::mpi_allreduce_value (const T &value, MPI_Comm comm, MPI_Op op=MPI_SUM)
 
template<typename T >
void ityr::common::mpi_allgather (const T *sendbuf, std::size_t sendcount, T *recvbuf, std::size_t recvcount, MPI_Comm comm)
 
template<typename T >
std::vector< T > ityr::common::mpi_allgather_value (const T &value, MPI_Comm comm)
 
template<typename T >
void ityr::common::mpi_scatter (const T *sendbuf, T *recvbuf, std::size_t count, int root_rank, MPI_Comm comm)
 
template<typename T >
ityr::common::mpi_scatter_value (const T *sendbuf, int root_rank, MPI_Comm comm)
 
void ityr::common::mpi_wait (MPI_Request &req)
 
bool ityr::common::mpi_test (MPI_Request &req)
 
void ityr::common::mpi_make_progress ()
 
MPI_Comm & ityr::common::mpi_comm_root ()
 
template<typename T >
ityr::common::getenv_coll (const std::string &env_var, T default_val)
 

Macro Definition Documentation

◆ ITYR_DEBUG_UCX

#define ITYR_DEBUG_UCX   0