X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d9c9e08948a8387e9e8ecb0fe67ab6b94ec2a66f..d0f67417a4047c5f844bb417daf8f4f1fa285f05:/teshsuite/smpi/mpich3-test/coll/allred3.c diff --git a/teshsuite/smpi/mpich3-test/coll/allred3.c b/teshsuite/smpi/mpich3-test/coll/allred3.c index 61f1a7c7b3..6c5d6802e5 100644 --- a/teshsuite/smpi/mpich3-test/coll/allred3.c +++ b/teshsuite/smpi/mpich3-test/coll/allred3.c @@ -14,7 +14,7 @@ static char MTEST_Descrip[] = "Test MPI_Allreduce with non-commutative user-defi */ /* We make the error count global so that we can easily control the output - of error information (in particular, limiting it after the first 10 + of error information (in particular, limiting it after the first 10 errors */ int errs = 0; @@ -25,39 +25,39 @@ int errs = 0; c(i,j) is cin[j+i*matSize] */ #define MAXCOL 256 -static int matSize = 0; /* Must be < MAXCOL */ +static int matSize = 0; /* Must be < MAXCOL */ static int max_offset = 0; -void uop( void *, void *, int *, MPI_Datatype * ); -void uop( void *cinPtr, void *coutPtr, int *count, MPI_Datatype *dtype ) +void uop(void *, void *, int *, MPI_Datatype *); +void uop(void *cinPtr, void *coutPtr, int *count, MPI_Datatype * dtype) { - const int *cin = (const int *)cinPtr; - int *cout = (int *)coutPtr; + const int *cin = (const int *) cinPtr; + int *cout = (int *) coutPtr; int i, j, k, nmat; int tempcol[MAXCOL]; int offset1, offset2; - int matsize2 = matSize*matSize; + int matsize2 = matSize * matSize; for (nmat = 0; nmat < *count; nmat++) { - for (j=0; j