diff --git a/02-MSA-hello-world-gpu/.master/hello-world.c b/02-MSA-hello-world-gpu/.master/hello-world.c index 89fcd007fe72257a350205c7006d2a5c34f62aea..cc3700c6ea60719fb4f4b178b5327f9b4758566a 100644 --- a/02-MSA-hello-world-gpu/.master/hello-world.c +++ b/02-MSA-hello-world-gpu/.master/hello-world.c @@ -35,5 +35,7 @@ int main(int argc, char** argv){ printf("\n"); + MPI_Finalize(); + return 0; } diff --git a/02-MSA-hello-world-gpu/.master/hello-world.cu b/02-MSA-hello-world-gpu/.master/hello-world.cu index 8c71020c9251d74547052a39001ae1bd874d9f4d..ad3ee874b045a2a9d313169ce78bf032e3a6cb1e 100644 --- a/02-MSA-hello-world-gpu/.master/hello-world.cu +++ b/02-MSA-hello-world-gpu/.master/hello-world.cu @@ -67,5 +67,6 @@ int main(int argc, char** argv){ printf("\n"); + MPI_Finalize(); return 0; } diff --git a/02-MSA-hello-world-gpu/solutions/hello-world.c b/02-MSA-hello-world-gpu/solutions/hello-world.c index 562b47bb502a3361079267555b2350e9b626d574..cf7f5a1068bb6762e18bdb897d590ea0ddf7e759 100644 --- a/02-MSA-hello-world-gpu/solutions/hello-world.c +++ b/02-MSA-hello-world-gpu/solutions/hello-world.c @@ -31,5 +31,7 @@ int main(int argc, char** argv){ printf("\n"); + MPI_Finalize(); + return 0; } diff --git a/02-MSA-hello-world-gpu/solutions/hello-world.cu b/02-MSA-hello-world-gpu/solutions/hello-world.cu index 7a2bf1688937b3b93b47e7c8f59ee320bbc452c7..77ebbc60bfb71df0a2ed4427816d55a0e7c66259 100644 --- a/02-MSA-hello-world-gpu/solutions/hello-world.cu +++ b/02-MSA-hello-world-gpu/solutions/hello-world.cu @@ -63,5 +63,6 @@ int main(int argc, char** argv){ printf("\n"); + MPI_Finalize(); return 0; } diff --git a/02-MSA-hello-world-gpu/tasks/hello-world.c b/02-MSA-hello-world-gpu/tasks/hello-world.c index 4c6384d012b24c68208e62455915d4080dfd5fab..4d4de5f8fb6ab8ac5735e642261af09a60303813 100644 --- a/02-MSA-hello-world-gpu/tasks/hello-world.c +++ b/02-MSA-hello-world-gpu/tasks/hello-world.c @@ -31,5 +31,7 @@ int main(int argc, char** argv){ printf("\n"); + MPI_Finalize(); + return 0; } diff --git a/02-MSA-hello-world-gpu/tasks/hello-world.cu b/02-MSA-hello-world-gpu/tasks/hello-world.cu index 6f6e11b58f60ade0e16c9b2b66556266262c230f..17103d4bdedffea023aae35ca0b36fcd5af2515e 100644 --- a/02-MSA-hello-world-gpu/tasks/hello-world.cu +++ b/02-MSA-hello-world-gpu/tasks/hello-world.cu @@ -63,5 +63,6 @@ int main(int argc, char** argv){ printf("\n"); + MPI_Finalize(); return 0; }