-
Notifications
You must be signed in to change notification settings - Fork 62
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
Reduce with Lambdas #128
Comments
The choice was made to remain "old school" to accommodate older compilers. It's a choice that could be discussed tough. |
That's a pity. |
Yes.
…----
Alain Miniussi
DSI, Pôles Calcul et Genie Log.
Observatoire de la Côte d'Azur
Tél. : +33492003009 (Mont-Gros)
+33483618544 (Sophia Antipolis)
+33609650665
----- On 22 Jan 21, at 15:35, Eduardo Quintana <[email protected]> wrote:
> The choice was made to remain "old school" to accommodate older compilers.
That's a pity.
—
You are receiving this because you commented.
Reply to this email directly, [
#128 (comment) | view it on
GitHub ] , or [
https://github.com/notifications/unsubscribe-auth/AAEGZDGSVF27VWZG32GVEU3S3GEMPANCNFSM4WORRK7Q
| unsubscribe ] .
|
@aminiussi How do you test changes in the repository? There's no makefile nor anything like it. |
@Lagrang3 I don't do that very often but yes, I do a bootstrap.sh (either with the --prefix option or I edit the bottom of the project bjam config, as the mpi section and python section usually need some manual editing) and then I call the ./b2 install (and the b2 test, although I usually go into the ./lib/mpi/tests directory and run ../../../b2 from there). |
Can we keep this open as an improvement proposal? I would like to implement this sometime. |
There is now a cmake build available, ad I copied al the bjam tests into ctest tests. It's available on develop. |
In the standard library lambdas can be used for reduction operations in
std::accumulate
.Is there any reason why
boost::mpi::all_reduce
does not accept lambda functions as custom reduction operation?Example:
The text was updated successfully, but these errors were encountered: