@@ -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