Subject: Re: [Boost-bugs] [Boost C++ Libraries] #6704: Boost version of mpi_in_place
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2012-10-11 13:51:10
#6704: Boost version of mpi_in_place
-----------------------------------------------------+----------------------
Reporter: Alain Miniussi <alain.miniussi@â¦> | Owner: dgregor
Type: Bugs | Status: new
Milestone: To Be Determined | Component: mpi
Version: Boost 1.48.0 | Severity: Problem
Resolution: | Keywords:
-----------------------------------------------------+----------------------
Comment (by anonymous):
One more question:
Right now, in the attached patch, we have
{{{
template<typename T, typename Op>
void all_reduce(const communicator & comm, const T & in_value,
T & out_value, Op op);
template<typename T, typename Op>
T all_reduce(const communicator & comm, const T & in_value, Op op);
template<typename T, typename Op>
void all_reduce(const communicator & comm, const T * in_values, int n,
T * out_values, Op op);
}}}
plus
{{{
template<typename T, typename Op>
void all_reduce(const communicator & comm, T * inout_values, int n,
Op op);
}}}
but we do not have:
{{{
template<typename T, typename Op>
void all_reduce(const communicator & comm, T & in_value, Op op);
}}}
that's based on the assumption that there isn't much usage for it and that
it would cause confusing overload issues.
I am still trying to find out how to modify the documentation :-)
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/6704#comment:9> Boost C++ Libraries <http://www.boost.org/> Boost provides free peer-reviewed portable C++ source libraries.
This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:10 UTC