8#ifndef OPENFPM_VCLUSTER_SRC_MPI_WRAPPER_MPI_IALLGATHER_HPP_
9#define OPENFPM_VCLUSTER_SRC_MPI_WRAPPER_MPI_IALLGATHER_HPP_
31 static inline void gather(
void * sbuf,
size_t sz_s ,
void * rbuf,
size_t sz_r, MPI_Request & req)
33 MPI_SAFE_CALL(MPI_Iallgather(sbuf,sz_s,MPI_BYTE, rbuf, sz_r, MPI_BYTE, MPI_COMM_WORLD,&req));
47 static inline void gather(
void * sbuf,
size_t sz_s ,
void * rbuf,
size_t sz_r, MPI_Request & req)
49 MPI_SAFE_CALL(MPI_Iallgather(sbuf,
sizeof(T) * sz_s,MPI_BYTE, rbuf, sz_r *
sizeof(T), MPI_BYTE, MPI_COMM_WORLD,&req));
60 static inline void gather(
void * sbuf,
size_t sz_s ,
void * rbuf,
size_t sz_r, MPI_Request & req)
62 MPI_SAFE_CALL(MPI_Iallgather(sbuf,sz_s,MPI_INT, rbuf, sz_r, MPI_INT, MPI_COMM_WORLD,&req));
72 static inline void gather(
void * sbuf,
size_t sz_s ,
void * rbuf,
size_t sz_r, MPI_Request & req)
74 MPI_SAFE_CALL(MPI_Iallgather(sbuf,sz_s,MPI_UNSIGNED, rbuf, sz_r, MPI_UNSIGNED, MPI_COMM_WORLD,&req));
84 static inline void gather(
void * sbuf,
size_t sz_s ,
void * rbuf,
size_t sz_r, MPI_Request & req)
86 MPI_SAFE_CALL(MPI_Iallgather(sbuf,sz_s,MPI_SHORT, rbuf, sz_r, MPI_SHORT, MPI_COMM_WORLD,&req));
97 static inline void gather(
void * sbuf,
size_t sz_s ,
void * rbuf,
size_t sz_r, MPI_Request & req)
99 MPI_SAFE_CALL(MPI_Iallgather(sbuf,sz_s,MPI_UNSIGNED_SHORT, rbuf, sz_r, MPI_UNSIGNED_SHORT, MPI_COMM_WORLD,&req));
110 static inline void gather(
void * sbuf,
size_t sz_s ,
void * rbuf,
size_t sz_r, MPI_Request & req)
112 MPI_SAFE_CALL(MPI_Iallgather(sbuf,sz_s,MPI_CHAR, rbuf, sz_r, MPI_CHAR, MPI_COMM_WORLD,&req));
123 static inline void gather(
void * sbuf,
size_t sz_s ,
void * rbuf,
size_t sz_r, MPI_Request & req)
125 MPI_SAFE_CALL(MPI_Iallgather(sbuf,sz_s,MPI_UNSIGNED_CHAR, rbuf, sz_r, MPI_UNSIGNED_CHAR, MPI_COMM_WORLD,&req));
135 static inline void gather(
void * sbuf,
size_t sz_s ,
void * rbuf,
size_t sz_r, MPI_Request & req)
137 MPI_SAFE_CALL(MPI_Iallgather(sbuf,sz_s,MPI_UNSIGNED_LONG, rbuf, sz_r, MPI_UNSIGNED_LONG, MPI_COMM_WORLD,&req));
147 static inline void gather(
void * sbuf,
size_t sz_s ,
void * rbuf,
size_t sz_r, MPI_Request & req)
149 MPI_SAFE_CALL(MPI_Iallgather(sbuf,sz_s,MPI_LONG, rbuf, sz_r, MPI_LONG, MPI_COMM_WORLD,&req));
159 static inline void gather(
void * sbuf,
size_t sz_s ,
void * rbuf,
size_t sz_r, MPI_Request & req)
161 MPI_SAFE_CALL(MPI_Iallgather(sbuf,sz_s,MPI_FLOAT, rbuf, sz_r, MPI_FLOAT, MPI_COMM_WORLD,&req));
171 static inline void gather(
void * sbuf,
size_t sz_s ,
void * rbuf,
size_t sz_r, MPI_Request & req)
173 MPI_SAFE_CALL(MPI_Iallgather(sbuf,sz_s,MPI_DOUBLE, rbuf, sz_r, MPI_DOUBLE, MPI_COMM_WORLD,&req));
Set of wrapping classing for MPI_Irecv.
General recv for vector of.