A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Start the dev cycle toward v3.32.
[simgrid.git]
/
docs
/
source
/
tuto_smpi
/
gemm_mpi.cpp
diff --git
a/docs/source/tuto_smpi/gemm_mpi.cpp
b/docs/source/tuto_smpi/gemm_mpi.cpp
index 950e809f63db713cb8e51f379088af30c6a1faa0..c9966ac94452458048c84574be08e93e06afd613 100644
(file)
--- a/
docs/source/tuto_smpi/gemm_mpi.cpp
+++ b/
docs/source/tuto_smpi/gemm_mpi.cpp
@@
-1,3
+1,8
@@
+/* Copyright (c) 2019-2022. 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 "stdio.h"
#include "mpi.h"
#include "stdio.h"
#include "mpi.h"
@@
-73,7
+78,7
@@
int main(int argc, char* argv[])
multiply((size/nproc)*nproc, size-1);
}
}
multiply((size/nproc)*nproc, size-1);
}
}
-
+
// MPI_Barrier(MPI_COMM_WORLD);
// end = MPI_Wtime();
// MPI_Barrier(MPI_COMM_WORLD);
// end = MPI_Wtime();
@@
-92,7
+97,6
@@
int main(int argc, char* argv[])
// msec_per_matrix_mul,
// flops_per_matrix_mul);
// }
// msec_per_matrix_mul,
// flops_per_matrix_mul);
// }
-
return 0;
}
return 0;
}