Commit ede63de4 authored by Wesley Bland's avatar Wesley Bland Committed by Pavan Balaji
Browse files

Rename MPIC_Waitall_ft to MPIC_Waitall



The FT functions are now the default (only) way to call the collective
helper functions. This is one of a few patches to migrate all uses to no
longer use the MPIC_*_ft naming scheme.
Signed-off-by: Pavan Balaji's avatarPavan Balaji <balaji@mcs.anl.gov>
parent 2e9ad71a
......@@ -3901,7 +3901,7 @@ int MPIC_Isend(const void *buf, int count, MPI_Datatype datatype, int dest, int
MPI_Comm comm, MPI_Request *request, int *errflag);
int MPIC_Irecv(void *buf, int count, MPI_Datatype datatype, int source,
int tag, MPI_Comm comm, MPI_Request *request);
int MPIC_Waitall_ft(int numreq, MPI_Request requests[], MPI_Status statuses[], int *errflag);
int MPIC_Waitall(int numreq, MPI_Request requests[], MPI_Status statuses[], int *errflag);
void MPIR_MAXF ( void *, void *, int *, MPI_Datatype * ) ;
......
......@@ -473,7 +473,7 @@ int MPIR_Alltoall_intra(
}
/* ... then wait for them to finish: */
mpi_errno = MPIC_Waitall_ft(2*ss,reqarray,starray, errflag);
mpi_errno = MPIC_Waitall(2*ss,reqarray,starray, errflag);
if (mpi_errno && mpi_errno != MPI_ERR_IN_STATUS) MPIU_ERR_POP(mpi_errno);
/* --BEGIN ERROR HANDLING-- */
......
......@@ -188,7 +188,7 @@ int MPIR_Alltoallv_intra(const void *sendbuf, const int *sendcounts, const int *
}
}
mpi_errno = MPIC_Waitall_ft(req_cnt, reqarray, starray, errflag);
mpi_errno = MPIC_Waitall(req_cnt, reqarray, starray, errflag);
if (mpi_errno && mpi_errno != MPI_ERR_IN_STATUS) MPIU_ERR_POP(mpi_errno);
/* --BEGIN ERROR HANDLING-- */
......
......@@ -164,7 +164,7 @@ int MPIR_Alltoallw_intra(const void *sendbuf, const int sendcounts[], const int
}
}
mpi_errno = MPIC_Waitall_ft(outstanding_requests, reqarray, starray, errflag);
mpi_errno = MPIC_Waitall(outstanding_requests, reqarray, starray, errflag);
if (mpi_errno && mpi_errno != MPI_ERR_IN_STATUS) MPIU_ERR_POP(mpi_errno);
/* --BEGIN ERROR HANDLING-- */
......
......@@ -114,7 +114,7 @@ int MPIR_Gatherv (
}
}
/* ... then wait for *all* of them to finish: */
mpi_errno = MPIC_Waitall_ft(reqs, reqarray, starray, errflag);
mpi_errno = MPIC_Waitall(reqs, reqarray, starray, errflag);
if (mpi_errno&& mpi_errno != MPI_ERR_IN_STATUS) MPIU_ERR_POP(mpi_errno);
/* --BEGIN ERROR HANDLING-- */
......
......@@ -660,10 +660,10 @@ int MPIC_Irecv(void *buf, int count, MPI_Datatype datatype, int source,
#undef FUNCNAME
#define FUNCNAME MPIC_Waitall_ft
#define FUNCNAME MPIC_Waitall
#undef FCNAME
#define FCNAME MPIU_QUOTE(FUNCNAME)
int MPIC_Waitall_ft(int numreq, MPI_Request requests[], MPI_Status statuses[], int *errflag)
int MPIC_Waitall(int numreq, MPI_Request requests[], MPI_Status statuses[], int *errflag)
{
int mpi_errno = MPI_SUCCESS;
int i;
......
......@@ -107,7 +107,7 @@ int MPIR_Scatterv(const void *sendbuf, const int *sendcounts, const int *displs,
}
}
/* ... then wait for *all* of them to finish: */
mpi_errno = MPIC_Waitall_ft(reqs, reqarray, starray, errflag);
mpi_errno = MPIC_Waitall(reqs, reqarray, starray, errflag);
if (mpi_errno && mpi_errno != MPI_ERR_IN_STATUS) MPIU_ERR_POP(mpi_errno);
/* --BEGIN ERROR HANDLING-- */
if (mpi_errno == MPI_ERR_IN_STATUS) {
......
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