Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
start to clean MM smpi example
[simgrid.git] / examples / smpi / MM / Summa.h
index ef0dccc..03c9d57 100644 (file)
@@ -1,12 +1,15 @@
+/* Copyright (c) 2012, 2014. The SimGrid Team.
+ * All rights reserved.                                                     */
+
+/* This program is free software; you can redistribute it and/or modify it
+ * under the terms of the license (GNU LGPL) which comes with this package. */
+
 #include <mpi.h>
-double Summa(
-                     double *a, double *b, double *c,
-                     size_t lda, size_t ldb, size_t ldc,
+double Summa(double *a, double *b, double *c, size_t lda, size_t ldb, size_t ldc,
                      size_t m, size_t k_a, size_t k_b, size_t n,
                      size_t Block_size, size_t start, size_t end,
                      size_t row, size_t col, size_t size_row, size_t size_col,
                      double *a_local, double *b_local,
-                     MPI_Datatype Block_a, MPI_Datatype Block_a_local,
-                     MPI_Datatype Block_b,
+                     MPI_Datatype Block_a, MPI_Datatype Block_a_local, MPI_Datatype Block_b,
                      MPI_Comm row_comm, MPI_Comm col_comm, int subs);