Explorar o código

really make coherency between timestamp take and profiling update

Samuel Thibault %!s(int64=13) %!d(string=hai) anos
pai
achega
f58ae2dc66
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/drivers/driver_common/driver_common.c

+ 1 - 1
src/drivers/driver_common/driver_common.c

@@ -104,7 +104,7 @@ void _starpu_driver_update_job_feedback(struct _starpu_job *j, struct _starpu_wo
 	int profiling = starpu_profiling_status_get();
 	int updated = 0;
 
-	if (cl->model && _starpu_get_calibrate_flag())
+	if (cl->model && cl->model->benchmarking)
 		calibrate_model = 1;
 
 	if ((profiling && profiling_info) || calibrate_model)