Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

designate all mpi reduce operations as commutative && use the first operand to aggregate instead of creating a copy #109

Open
wammar opened this issue Mar 20, 2013 · 0 comments

Comments

@wammar
Copy link
Member

wammar commented Mar 20, 2013

to designate std::plusstd::string as commutative, you say:

namespace boost { namespace mpi {

template<>
struct is_commutativestd::plus<std::string, std::string>
: mpl::true_ { };

} } // end namespace boost::mpi

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant