Explorar el Código

component_fifo: drop now-useless test

Samuel Thibault hace 5 años
padre
commit
84f82b2a11
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/sched_policies/component_fifo.c

+ 1 - 1
src/sched_policies/component_fifo.c

@@ -107,7 +107,7 @@ static int fifo_push_local_task(struct starpu_sched_component * component, struc
 		else
 			exp_len = fifo->exp_len;
 
-		if ((data->ntasks_threshold != 0 && fifo->ntasks >= data->ntasks_threshold) || (data->exp_len_threshold != 0.0 && exp_len >= data->exp_len_threshold))
+		if (data->exp_len_threshold != 0.0 && exp_len >= data->exp_len_threshold)
 		{
 			static int warned;
 			if(data->exp_len_threshold != 0.0 && task->predicted > data->exp_len_threshold && !warned)