Просмотр исходного кода

really make coherency between timestamp take and profiling update

Samuel Thibault лет назад: 13
Родитель
Сommit
f58ae2dc66
1 измененных файлов с 1 добавлено и 1 удалено
  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)