瀏覽代碼

Explain what does the test mpi_redux.c

Philippe SWARTVAGHER 4 年之前
父節點
當前提交
aaf9bf1f06
共有 1 個文件被更改,包括 3 次插入0 次删除
  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.
  */
 
+/* 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 "helper.h"