Browse Source

Explain what does the test mpi_redux.c

Philippe SWARTVAGHER 4 years ago
parent
commit
aaf9bf1f06
1 changed files with 3 additions and 0 deletions
  1. 3 0
      mpi/tests/mpi_redux.c

+ 3 - 0
mpi/tests/mpi_redux.c

@@ -14,6 +14,9 @@
  * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  */
  */
 
 
+/* This test does a manual reduction: all ranks send a number to the rank 0,
+ * the rank 0 sums these numbers and sends back the result to all ranks. */
+
 #include <starpu_mpi.h>
 #include <starpu_mpi.h>
 #include "helper.h"
 #include "helper.h"