Indentation.
This commit was SVN r24467.
Этот коммит содержится в:
родитель
27fecda12c
Коммит
5721a06864
@ -211,8 +211,8 @@ finished:
|
|||||||
|
|
||||||
|
|
||||||
int ompi_request_default_wait_all( size_t count,
|
int ompi_request_default_wait_all( size_t count,
|
||||||
ompi_request_t ** requests,
|
ompi_request_t ** requests,
|
||||||
ompi_status_public_t * statuses )
|
ompi_status_public_t * statuses )
|
||||||
{
|
{
|
||||||
size_t completed = 0, i;
|
size_t completed = 0, i;
|
||||||
ompi_request_t **rptr;
|
ompi_request_t **rptr;
|
||||||
@ -334,21 +334,21 @@ int ompi_request_default_wait_all( size_t count,
|
|||||||
if( request->req_state == OMPI_REQUEST_INACTIVE ) {
|
if( request->req_state == OMPI_REQUEST_INACTIVE ) {
|
||||||
rc = ompi_status_empty.MPI_ERROR;
|
rc = ompi_status_empty.MPI_ERROR;
|
||||||
} else {
|
} else {
|
||||||
rc = request->req_status.MPI_ERROR;
|
rc = request->req_status.MPI_ERROR;
|
||||||
}
|
}
|
||||||
if( request->req_persistent ) {
|
if( request->req_persistent ) {
|
||||||
request->req_state = OMPI_REQUEST_INACTIVE;
|
request->req_state = OMPI_REQUEST_INACTIVE;
|
||||||
} else if (MPI_SUCCESS == rc) {
|
} else if (MPI_SUCCESS == rc) {
|
||||||
/* Only free the request if there is no error on it */
|
/* Only free the request if there is no error on it */
|
||||||
int tmp = ompi_request_free(rptr);
|
int tmp = ompi_request_free(rptr);
|
||||||
if (OMPI_SUCCESS != tmp) {
|
if (OMPI_SUCCESS != tmp) {
|
||||||
mpi_error = tmp;
|
mpi_error = tmp;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if( rc != OMPI_SUCCESS) {
|
if( rc != OMPI_SUCCESS) {
|
||||||
mpi_error = rc;
|
mpi_error = rc;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return mpi_error;
|
return mpi_error;
|
||||||
}
|
}
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user