Browse Source

restore calling the perfmodel

Samuel Thibault 12 years ago
parent
commit
26de49eb07
1 changed files with 1 additions and 0 deletions
  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));