Browse Source

shutdown starpu after unloading models

Samuel Thibault 7 years ago
parent
commit
cfb6a07f5d
1 changed files with 2 additions and 2 deletions
  1. 2 2
      tools/starpu_replay.c

+ 2 - 2
tools/starpu_replay.c

@@ -752,8 +752,6 @@ eof:
 		free(handle);
         }
 
-	starpu_shutdown();
-
 	struct perfmodel * model_s, * modeltmp;
 	HASH_ITER(hh, model_hash, model_s, modeltmp)
 	{
@@ -773,6 +771,8 @@ eof:
 		free(task);
         }
 
+	starpu_shutdown();
+
 	return 0;
 
 enodev: