X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/89e44dce958ad9625570b126f11d299b829d4932..861d5dd084064a6532906578f8be60b84f041b84:/src/smpi/colls/allreduce-smp-binomial.c diff --git a/src/smpi/colls/allreduce-smp-binomial.c b/src/smpi/colls/allreduce-smp-binomial.c index cf68dfb647..77a5abcefe 100644 --- a/src/smpi/colls/allreduce-smp-binomial.c +++ b/src/smpi/colls/allreduce-smp-binomial.c @@ -32,20 +32,10 @@ int smpi_coll_tuned_allreduce_smp_binomial(void *send_buf, void *recv_buf, { int comm_size, rank; void *tmp_buf; - int tag = 50; + int tag = COLL_TAG_ALLREDUCE; int mask, src, dst; int num_core = NUM_CORE; MPI_Status status; - /* - #ifdef MPICH2_REDUCTION - MPI_User_function * uop = MPIR_Op_table[op % 16 - 1]; - #else - MPI_User_function *uop; - struct MPIR_OP *op_ptr; - op_ptr = MPIR_ToPointer(op); - uop = op_ptr->op; - #endif - */ comm_size=smpi_comm_size(comm); rank=smpi_comm_rank(comm);