X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d9c9e08948a8387e9e8ecb0fe67ab6b94ec2a66f..35a644bdf9d0c5603c9483f03f913e4a649638d6:/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