• David Goodell's avatar
    [svn-r8169] use MPIR_Reduce_local_impl in reduce.c and allreduce.c · a2b70c05
    David Goodell authored
    This changes allreduce and reduce to use MPIR_Reduce_local_impl instead
    of manually managing operator invocation, which greatly de-clutters the
    code and reduces the chances of making an error through copy-paste
    coding.  It also strengthens the error checking when using built-in
    reduction operators.
    No reviewer.