Commit 888ed817 authored by Darius Buntinas's avatar Darius Buntinas
Browse files

[svn-r6869] moved FUNCNAME/FCNAME macros before the comments for top-level MPI...

[svn-r6869] moved FUNCNAME/FCNAME macros before the comments for top-level MPI functions because the documentation generator script expects the function prototype to immediately follow the comments
parent 140e8718
......@@ -835,6 +835,10 @@ int MPIR_Allgatherv_impl(void *sendbuf, int sendcount, MPI_Datatype sendtype,
#endif
#undef FUNCNAME
#define FUNCNAME MPI_Allgatherv
#undef FCNAME
#define FCNAME MPIU_QUOTE(FUNCNAME)
/*@
MPI_Allgatherv - Gathers data from all tasks and deliver the combined data
......@@ -883,10 +887,6 @@ Notes:
.N MPI_ERR_COUNT
.N MPI_ERR_TYPE
@*/
#undef FUNCNAME
#define FUNCNAME MPI_Allgatherv
#undef FCNAME
#define FCNAME MPIU_QUOTE(FUNCNAME)
int MPI_Allgatherv(void *sendbuf, int sendcount, MPI_Datatype sendtype,
void *recvbuf, int *recvcounts, int *displs,
MPI_Datatype recvtype, MPI_Comm comm)
......
......@@ -671,6 +671,10 @@ int MPIR_Alltoall_impl(void *sendbuf, int sendcount, MPI_Datatype sendtype,
#endif
#undef FUNCNAME
#define FUNCNAME MPI_Alltoall
#undef FCNAME
#define FCNAME MPIU_QUOTE(FUNCNAME)
/*@
MPI_Alltoall - Sends data from all to all processes
......@@ -695,10 +699,6 @@ Output Parameter:
.N MPI_ERR_TYPE
.N MPI_ERR_BUFFER
@*/
#undef FUNCNAME
#define FUNCNAME MPI_Alltoall
#undef FCNAME
#define FCNAME MPIU_QUOTE(FUNCNAME)
int MPI_Alltoall(void *sendbuf, int sendcount, MPI_Datatype sendtype,
void *recvbuf, int recvcount, MPI_Datatype recvtype,
MPI_Comm comm)
......
......@@ -359,6 +359,10 @@ int MPIR_Alltoallv_impl(void *sendbuf, int *sendcnts, int *sdispls, MPI_Datatype
#endif
#undef FUNCNAME
#define FUNCNAME MPI_Alltoallv
#undef FCNAME
#define FCNAME MPIU_QUOTE(FUNCNAME)
/*@
MPI_Alltoallv - Sends data from all to all processes; each process may
send a different amount of data and provide displacements for the input
......@@ -394,10 +398,6 @@ Output Parameter:
.N MPI_ERR_TYPE
.N MPI_ERR_BUFFER
@*/
#undef FUNCNAME
#define FUNCNAME MPI_Alltoallv
#undef FCNAME
#define FCNAME MPIU_QUOTE(FUNCNAME)
int MPI_Alltoallv(void *sendbuf, int *sendcnts, int *sdispls,
MPI_Datatype sendtype, void *recvbuf, int *recvcnts,
int *rdispls, MPI_Datatype recvtype, MPI_Comm comm)
......
......@@ -363,6 +363,10 @@ int MPIR_Alltoallw_impl(void *sendbuf, int *sendcnts, int *sdispls, MPI_Datatype
#endif
#undef FUNCNAME
#define FUNCNAME MPI_Alltoallw
#undef FCNAME
#define FCNAME MPIU_QUOTE(FUNCNAME)
/*@
MPI_Alltoallw - Generalized all-to-all communication allowing different
datatypes, counts, and displacements for each partner
......@@ -399,10 +403,6 @@ int MPIR_Alltoallw_impl(void *sendbuf, int *sendcnts, int *sdispls, MPI_Datatype
.N MPI_ERR_COUNT
.N MPI_ERR_TYPE
@*/
#undef FUNCNAME
#define FUNCNAME MPI_Alltoallw
#undef FCNAME
#define FCNAME MPIU_QUOTE(FUNCNAME)
int MPI_Alltoallw(void *sendbuf, int *sendcnts, int *sdispls,
MPI_Datatype *sendtypes, void *recvbuf, int *recvcnts,
int *rdispls, MPI_Datatype *recvtypes, MPI_Comm comm)
......
......@@ -277,6 +277,10 @@ int MPIR_Exscan_impl(void *sendbuf, void *recvbuf, int count, MPI_Datatype datat
#endif
#undef FUNCNAME
#define FUNCNAME MPI_Exscan
#undef FCNAME
#define FCNAME MPIU_QUOTE(FUNCNAME)
/*@
MPI_Exscan - Computes the exclusive scan (partial reductions) of data on a
......@@ -311,10 +315,6 @@ Notes:
.N MPI_ERR_BUFFER
.N MPI_ERR_BUFFER_ALIAS
@*/
#undef FUNCNAME
#define FUNCNAME MPI_Exscan
#undef FCNAME
#define FCNAME MPIU_QUOTE(FUNCNAME)
int MPI_Exscan(void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype,
MPI_Op op, MPI_Comm comm)
{
......
......@@ -629,6 +629,10 @@ int MPIR_Gather_impl(void *sendbuf, int sendcnt, MPI_Datatype sendtype,
#endif
#undef FUNCNAME
#define FUNCNAME MPI_Gather
#undef FCNAME
#define FCNAME MPIU_QUOTE(FUNCNAME)
/*@
MPI_Gather - Gathers together values from a group of processes
......@@ -658,10 +662,6 @@ Output Parameter:
.N MPI_ERR_TYPE
.N MPI_ERR_BUFFER
@*/
#undef FUNCNAME
#define FUNCNAME MPI_Gather
#undef FCNAME
#define FCNAME MPIU_QUOTE(FUNCNAME)
int MPI_Gather(void *sendbuf, int sendcnt, MPI_Datatype sendtype,
void *recvbuf, int recvcnt, MPI_Datatype recvtype,
int root, MPI_Comm comm)
......
......@@ -212,6 +212,10 @@ int MPIR_Gatherv_impl(void *sendbuf, int sendcnt, MPI_Datatype sendtype,
#endif
#undef FUNCNAME
#define FUNCNAME MPI_Gatherv
#undef FCNAME
#define FCNAME MPIU_QUOTE(FUNCNAME)
/*@
MPI_Gatherv - Gathers into specified locations from all processes in a group
......@@ -245,10 +249,6 @@ Output Parameter:
.N MPI_ERR_TYPE
.N MPI_ERR_BUFFER
@*/
#undef FUNCNAME
#define FUNCNAME MPI_Gatherv
#undef FCNAME
#define FCNAME MPIU_QUOTE(FUNCNAME)
int MPI_Gatherv(void *sendbuf, int sendcnt, MPI_Datatype sendtype,
void *recvbuf, int *recvcnts, int *displs,
MPI_Datatype recvtype, int root, MPI_Comm comm)
......
......@@ -1142,6 +1142,10 @@ int MPIR_Reduce_scatter_impl(void *sendbuf, void *recvbuf, int *recvcnts,
#endif
#undef FUNCNAME
#define FUNCNAME MPI_Reduce_scatter
#undef FCNAME
#define FCNAME MPIU_QUOTE(FUNCNAME)
/*@
MPI_Reduce_scatter - Combines values and scatters the results
......@@ -1173,10 +1177,6 @@ Output Parameter:
.N MPI_ERR_OP
.N MPI_ERR_BUFFER_ALIAS
@*/
#undef FUNCNAME
#define FUNCNAME MPI_Reduce_scatter
#undef FCNAME
#define FCNAME MPIU_QUOTE(FUNCNAME)
int MPI_Reduce_scatter(void *sendbuf, void *recvbuf, int *recvcnts,
MPI_Datatype datatype, MPI_Op op, MPI_Comm comm)
{
......
......@@ -465,6 +465,10 @@ int MPIR_Scan_impl(void *sendbuf, void *recvbuf, int count, MPI_Datatype datatyp
#endif
#undef FUNCNAME
#define FUNCNAME MPI_Scan
#undef FCNAME
#define FCNAME MPIU_QUOTE(FUNCNAME)
/*@
MPI_Scan - Computes the scan (partial reductions) of data on a collection of
......@@ -494,10 +498,6 @@ Output Parameter:
.N MPI_ERR_BUFFER
.N MPI_ERR_BUFFER_ALIAS
@*/
#undef FUNCNAME
#define FUNCNAME MPI_Scan
#undef FCNAME
#define FCNAME MPIU_QUOTE(FUNCNAME)
int MPI_Scan(void *sendbuf, void *recvbuf, int count, MPI_Datatype datatype,
MPI_Op op, MPI_Comm comm)
{
......
......@@ -568,6 +568,10 @@ int MPIR_Scatter_impl(void *sendbuf, int sendcnt, MPI_Datatype sendtype,
}
#endif
#undef FUNCNAME
#define FUNCNAME MPI_Scatter
#undef FCNAME
#define FCNAME MPIU_QUOTE(FUNCNAME)
/*@
MPI_Scatter - Sends data from one process to all other processes in a
......@@ -599,10 +603,6 @@ Output Parameter:
.N MPI_ERR_TYPE
.N MPI_ERR_BUFFER
@*/
#undef FUNCNAME
#define FUNCNAME MPI_Scatter
#undef FCNAME
#define FCNAME MPIU_QUOTE(FUNCNAME)
int MPI_Scatter(void *sendbuf, int sendcnt, MPI_Datatype sendtype,
void *recvbuf, int recvcnt, MPI_Datatype recvtype, int root,
MPI_Comm comm)
......
......@@ -183,6 +183,10 @@ int MPIR_Scatterv_impl(void *sendbuf, int *sendcnts, int *displs, MPI_Datatype s
#endif
#undef FUNCNAME
#define FUNCNAME MPI_Scatterv
#undef FCNAME
#define FCNAME MPIU_QUOTE(FUNCNAME)
/*@
MPI_Scatterv - Scatters a buffer in parts to all processes in a communicator
......@@ -214,10 +218,6 @@ Output Parameter:
.N MPI_ERR_TYPE
.N MPI_ERR_BUFFER
@*/
#undef FUNCNAME
#define FUNCNAME MPI_Scatterv
#undef FCNAME
#define FCNAME MPIU_QUOTE(FUNCNAME)
int MPI_Scatterv( void *sendbuf, int *sendcnts, int *displs,
MPI_Datatype sendtype, void *recvbuf, int recvcnt,
MPI_Datatype recvtype,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment