Browse Source

src/core/perfmodel/perfmodel_history.c: function starpu_perfmodel_load_symbol() calls starpu_perfmodel_init()

Nathalie Furmento 11 years ago
parent
commit
a6e209808e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/core/perfmodel/perfmodel_history.c

+ 1 - 0
src/core/perfmodel/perfmodel_history.c

@@ -1081,6 +1081,7 @@ int starpu_perfmodel_list(FILE *output)
 int starpu_perfmodel_load_symbol(const char *symbol, struct starpu_perfmodel *model)
 int starpu_perfmodel_load_symbol(const char *symbol, struct starpu_perfmodel *model)
 {
 {
 	model->symbol = strdup(symbol);
 	model->symbol = strdup(symbol);
+	starpu_perfmodel_init(model);
 
 
 	/* where is the file if it exists ? */
 	/* where is the file if it exists ? */
 	char path[256];
 	char path[256];