Parcourir la source

restore calling the perfmodel

Samuel Thibault il y a 12 ans
Parent
commit
26de49eb07
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      src/core/simgrid.c

+ 1 - 0
src/core/simgrid.c

@@ -195,6 +195,7 @@ void _starpu_simgrid_execute_job(struct _starpu_job *j, enum starpu_perf_archtyp
 
 	if (isnan(length))
 	{
+		length = starpu_task_expected_length(task, perf_arch, j->nimpl);
 		STARPU_ASSERT_MSG(!_STARPU_IS_ZERO(length) && !isnan(length),
 			"Codelet %s does not have a perfmodel, or is not calibrated enough",
 			_starpu_job_get_model_name(j));