Explorar el Código

restore calling the perfmodel

Samuel Thibault hace 12 años
padre
commit
26de49eb07
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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));