00001 #ifndef LogGP_COLLECTIVES_H_
00002 #define LogGP_COLLECTIVES_H_
00003
00004 #ifdef HAVE_CONFIG_H
00005 #include "models/plogp.h"
00006 #else
00007 #include "plogp.h"
00008 #endif
00009
00014 #ifdef __cplusplus
00015 extern "C" {
00016 #endif
00017
00019 int LogGP_Scatterv_sorted_flat_asc(void* sendbuf, int* sendcounts, int* displs, MPI_Datatype sendtype,
00020 void* recvbuf, int recvcount, MPI_Datatype recvtype,
00021 int root, MPI_Comm comm);
00022
00024 int LogGP_Gatherv_sorted_flat_asc(void* sendbuf, int sendcount, MPI_Datatype sendtype,
00025 void* recvbuf, int* recvcounts, int* displs, MPI_Datatype recvtype,
00026 int root, MPI_Comm comm);
00027
00029 int LogGP_Scatterv_sorted_flat_dsc(void* sendbuf, int* sendcounts, int* displs, MPI_Datatype sendtype,
00030 void* recvbuf, int recvcount, MPI_Datatype recvtype,
00031 int root, MPI_Comm comm);
00032
00034 int LogGP_Gatherv_sorted_flat_dsc(void* sendbuf, int sendcount, MPI_Datatype sendtype,
00035 void* recvbuf, int* recvcounts, int* displs, MPI_Datatype recvtype,
00036 int root, MPI_Comm comm);
00037
00039 int LogGP_Bcast_dfs_binomial_min(void* buffer, int count, MPI_Datatype datatype, int root, MPI_Comm comm);
00040
00042 int LogGP_Reduce_dfs_binomial_min(void* sendbuf, void* recvbuf, int count, MPI_Datatype datatype,
00043 MPI_Op op, int root, MPI_Comm comm);
00044
00046 int LogGP_Bcast_dfs_binomial_max(void* buffer, int count, MPI_Datatype datatype, int root, MPI_Comm comm);
00047
00049 int LogGP_Reduce_bfs_binomial_min(void* sendbuf, void* recvbuf, int count, MPI_Datatype datatype,
00050 MPI_Op op, int root, MPI_Comm comm);
00051
00053 int LogGP_Reduce_bfs_binomial_max(void* sendbuf, void* recvbuf, int count, MPI_Datatype datatype,
00054 MPI_Op op, int root, MPI_Comm comm);
00055
00057 int LogGP_Bcast_bfs_binomial_min(void* buffer, int count, MPI_Datatype datatype, int root, MPI_Comm comm);
00058
00060 int LogGP_Bcast_bfs_binomial_max(void* buffer, int count, MPI_Datatype datatype, int root, MPI_Comm comm);
00061
00063 int LogGP_Reduce_dfs_binomial_max(void* sendbuf, void* recvbuf, int count, MPI_Datatype datatype,
00064 MPI_Op op, int root, MPI_Comm comm);
00065
00067 int LogGP_Bcast_ucs_binomial_min(void* buffer, int count, MPI_Datatype datatype, int root, MPI_Comm comm);
00068
00070 int LogGP_Reduce_ucs_binomial_min(void* sendbuf, void* recvbuf, int count, MPI_Datatype datatype,
00071 MPI_Op op, int root, MPI_Comm comm);
00072
00074 int LogGP_Bcast_ucs_binomial_max(void* buffer, int count, MPI_Datatype datatype, int root, MPI_Comm comm);
00075
00077 int LogGP_Reduce_ucs_binomial_max(void* sendbuf, void* recvbuf, int count, MPI_Datatype datatype,
00078 MPI_Op op, int root, MPI_Comm comm);
00079
00081 int LogGP_Scatter_dfs_binomial_min(void* sendbuf, int sendcount, MPI_Datatype sendtype,
00082 void* recvbuf, int recvcount, MPI_Datatype recvtype,
00083 int root, MPI_Comm comm);
00084
00086 int LogGP_Gather_dfs_binomial_min(void* sendbuf, int sendcount, MPI_Datatype sendtype,
00087 void* recvbuf, int recvcount, MPI_Datatype recvtype,
00088 int root, MPI_Comm comm);
00089
00091 int LogGP_Scatter_dfs_binomial_max(void* sendbuf, int sendcount, MPI_Datatype sendtype,
00092 void* recvbuf, int recvcount, MPI_Datatype recvtype,
00093 int root, MPI_Comm comm);
00094
00096 int LogGP_Gather_dfs_binomial_max(void* sendbuf, int sendcount, MPI_Datatype sendtype,
00097 void* recvbuf, int recvcount, MPI_Datatype recvtype,
00098 int root, MPI_Comm comm);
00099
00101 int LogGP_Scatter_ucs_binomial_min(void* sendbuf, int sendcount, MPI_Datatype sendtype,
00102 void* recvbuf, int recvcount, MPI_Datatype recvtype,
00103 int root, MPI_Comm comm);
00104
00106 int LogGP_Gather_ucs_binomial_min(void* sendbuf, int sendcount, MPI_Datatype sendtype,
00107 void* recvbuf, int recvcount, MPI_Datatype recvtype,
00108 int root, MPI_Comm comm);
00109
00111 int LogGP_Scatter_ucs_binomial_max(void* sendbuf, int sendcount, MPI_Datatype sendtype,
00112 void* recvbuf, int recvcount, MPI_Datatype recvtype,
00113 int root, MPI_Comm comm);
00114
00116 int LogGP_Gather_ucs_binomial_max(void* sendbuf, int sendcount, MPI_Datatype sendtype,
00117 void* recvbuf, int recvcount, MPI_Datatype recvtype,
00118 int root, MPI_Comm comm);
00119
00121 int LogGP_Scatter_bfs_binomial_min(void* sendbuf, int sendcount, MPI_Datatype sendtype,
00122 void* recvbuf, int recvcount, MPI_Datatype recvtype,
00123 int root, MPI_Comm comm);
00124
00126 int LogGP_Gather_bfs_binomial_min(void* sendbuf, int sendcount, MPI_Datatype sendtype,
00127 void* recvbuf, int recvcount, MPI_Datatype recvtype,
00128 int root, MPI_Comm comm);
00129
00131 int LogGP_Scatter_bfs_binomial_max(void* sendbuf, int sendcount, MPI_Datatype sendtype,
00132 void* recvbuf, int recvcount, MPI_Datatype recvtype,
00133 int root, MPI_Comm comm);
00134
00136 int LogGP_Gather_bfs_binomial_max(void* sendbuf, int sendcount, MPI_Datatype sendtype,
00137 void* recvbuf, int recvcount, MPI_Datatype recvtype,
00138 int root, MPI_Comm comm);
00139
00141 int LogGP_Scatterv_dfs_binomial_min(void* sendbuf, int* sendcounts, int* displs, MPI_Datatype sendtype,
00142 void* recvbuf, int recvcount, MPI_Datatype recvtype,
00143 int root, MPI_Comm comm);
00144
00146 int LogGP_Gatherv_dfs_binomial_min(void* sendbuf, int sendcount, MPI_Datatype sendtype,
00147 void* recvbuf, int* recvcounts, int* displs, MPI_Datatype recvtype,
00148 int root, MPI_Comm comm);
00149
00151 int LogGP_Scatterv_dfs_binomial_max(void* sendbuf, int* sendcounts, int* displs, MPI_Datatype sendtype,
00152 void* recvbuf, int recvcount, MPI_Datatype recvtype,
00153 int root, MPI_Comm comm);
00154
00156 int LogGP_Gatherv_dfs_binomial_max(void* sendbuf, int sendcount, MPI_Datatype sendtype,
00157 void* recvbuf, int* recvcounts, int* displs, MPI_Datatype recvtype,
00158 int root, MPI_Comm comm);
00159
00161 int LogGP_Scatterv_bfs_binomial_min(void* sendbuf, int* sendcounts, int* displs, MPI_Datatype sendtype,
00162 void* recvbuf, int recvcount, MPI_Datatype recvtype,
00163 int root, MPI_Comm comm);
00164
00166 int LogGP_Gatherv_bfs_binomial_min(void* sendbuf, int sendcount, MPI_Datatype sendtype,
00167 void* recvbuf, int* recvcounts, int* displs, MPI_Datatype recvtype,
00168 int root, MPI_Comm comm);
00169
00171 int LogGP_Scatterv_bfs_binomial_max(void* sendbuf, int* sendcounts, int* displs, MPI_Datatype sendtype,
00172 void* recvbuf, int recvcount, MPI_Datatype recvtype,
00173 int root, MPI_Comm comm);
00174
00176 int LogGP_Gatherv_bfs_binomial_max(void* sendbuf, int sendcount, MPI_Datatype sendtype,
00177 void* recvbuf, int* recvcounts, int* displs, MPI_Datatype recvtype,
00178 int root, MPI_Comm comm);
00179
00181 int LogGP_Scatterv_ucs_binomial_min(void* sendbuf, int* sendcounts, int* displs, MPI_Datatype sendtype,
00182 void* recvbuf, int recvcount, MPI_Datatype recvtype,
00183 int root, MPI_Comm comm);
00184
00186 int LogGP_Gatherv_ucs_binomial_min(void* sendbuf, int sendcount, MPI_Datatype sendtype,
00187 void* recvbuf, int* recvcounts, int* displs, MPI_Datatype recvtype,
00188 int root, MPI_Comm comm);
00189
00191 int LogGP_Scatterv_ucs_binomial_max(void* sendbuf, int* sendcounts, int* displs, MPI_Datatype sendtype,
00192 void* recvbuf, int recvcount, MPI_Datatype recvtype,
00193 int root, MPI_Comm comm);
00194
00196 int LogGP_Gatherv_ucs_binomial_max(void* sendbuf, int sendcount, MPI_Datatype sendtype,
00197 void* recvbuf, int* recvcounts, int* displs, MPI_Datatype recvtype,
00198 int root, MPI_Comm comm);
00199
00201 int LogGP_Scatterv_Traff(void* sendbuf, int* sendcounts, int* displs, MPI_Datatype sendtype,
00202 void* recvbuf, int recvcount, MPI_Datatype recvtype,
00203 int root, MPI_Comm comm);
00204
00206 int LogGP_Gatherv_Traff(void* sendbuf, int sendcount, MPI_Datatype sendtype,
00207 void* recvbuf, int* recvcounts, int* displs, MPI_Datatype recvtype,
00208 int root, MPI_Comm comm);
00209
00210 #ifdef __cplusplus
00211 }
00212 #endif
00213
00217 #endif
00218