|
@@ -1,6 +1,6 @@
|
|
|
|
|
|
*
|
|
|
- * Copyright (C) 2011, 2012 Centre National de la Recherche Scientifique
|
|
|
+ * Copyright (C) 2011, 2012, 2013 Centre National de la Recherche Scientifique
|
|
|
*
|
|
|
* StarPU is free software; you can redistribute it and/or modify
|
|
|
* it under the terms of the GNU Lesser General Public License as published by
|
|
@@ -144,6 +144,17 @@ int main(int argc, char **argv)
|
|
|
fprintf(stderr, "Waiting ...\n");
|
|
|
starpu_task_wait_for_all();
|
|
|
|
|
|
+ for(x = 0; x < X; x++)
|
|
|
+ {
|
|
|
+ for (y = 0; y < Y; y++)
|
|
|
+ {
|
|
|
+ if (data_handles[x][y])
|
|
|
+ {
|
|
|
+ starpu_data_unregister(data_handles[x][y]);
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
starpu_mpi_shutdown();
|
|
|
starpu_shutdown();
|
|
|
|