Explorar el Código

load/save power performance models too

Samuel Thibault hace 14 años
padre
commit
b887ba867c
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      src/core/task.c

+ 3 - 0
src/core/task.c

@@ -253,6 +253,9 @@ int starpu_task_submit(struct starpu_task *task)
 
 		if (task->cl->model)
 			_starpu_load_perfmodel(task->cl->model);
+
+		if (task->cl->power_model)
+			_starpu_load_perfmodel(task->cl->power_model);
 	}
 
 	/* If profiling is activated, we allocate a structure to store the