X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c57842fe897f53b46f0be3da87f7c996674be7d6..HEAD:/teshsuite/smpi/mpich3-test/coll/allred6.c diff --git a/teshsuite/smpi/mpich3-test/coll/allred6.c b/teshsuite/smpi/mpich3-test/coll/allred6.c index 65629ded94..dec9a006f6 100644 --- a/teshsuite/smpi/mpich3-test/coll/allred6.c +++ b/teshsuite/smpi/mpich3-test/coll/allred6.c @@ -13,69 +13,63 @@ static char MTEST_Descrip[] = "Test MPI_Allreduce with apparent non-commutative operators"; */ /* While the operator is in fact commutative, this forces the MPI code to - run the code that is used for non-commutative operators, and for - various message lengths. Other tests check truly non-commutative + run the code that is used for non-commutative operators, and for + various message lengths. Other tests check truly non-commutative operators */ -void mysum( void *cinPtr, void *coutPtr, int *count, MPI_Datatype *dtype ); +void mysum(void *cinPtr, void *coutPtr, int *count, MPI_Datatype * dtype); -void mysum( void *cinPtr, void *coutPtr, int *count, MPI_Datatype *dtype ) +void mysum(void *cinPtr, void *coutPtr, int *count, MPI_Datatype * dtype) { - const int *cin = (const int *)cinPtr; - int *cout = (int *)coutPtr; - int i, n = *count; - for (i=0; i