Browse Source

starpu_replay: unload model before freeing its storage

Samuel Thibault 5 years ago
parent
commit
3b5436f3b5
1 changed files with 1 additions and 0 deletions
  1. 1 0
      tools/starpu_replay.c

+ 1 - 0
tools/starpu_replay.c

@@ -671,6 +671,7 @@ int main(int argc, char **argv)
 
 							fprintf(stderr, "[starpu][Warning] Error loading perfmodel symbol %s\n", model);
 							fprintf(stderr, "[starpu][Warning] Taking only measurements from the given execution, and forcing execution on worker %d\n", workerid);
+							starpu_perfmodel_unload_model(&realmodel->perfmodel);
 							free(realmodel->model_name);
 							free(realmodel);
 							realmodel = NULL;