/* apply operation */
if(op!=MPI_OP_NULL) op->apply( local_op_buffer,
accumbuf + segindex * segment_increment,
- &recvcount, &datatype );
+ &recvcount, datatype );
} else if ( segindex > 0 ) {
void* accumulator = accumbuf + (segindex-1) * segment_increment;
if( tree->tree_nextsize <= 1 ) {
}
}
if(op!=MPI_OP_NULL) op->apply( local_op_buffer, accumulator, &prevcount,
- &datatype );
+ datatype );
/* all reduced on available data this step (i) complete,
* pass to the next process unless you are the root.
}
/* Perform the reduction */
- if(op!=MPI_OP_NULL) op->apply( inbuf, rbuf, &count, &dtype);
+ if(op!=MPI_OP_NULL) op->apply( inbuf, rbuf, &count, dtype);
}
if (NULL != inplace_temp) {