Samuel Thibault 4 anni fa
parent
commit
3b1954e28f
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  1. 3 0
      src/sched_policies/component_fifo.c

+ 3 - 0
src/sched_policies/component_fifo.c

@@ -180,6 +180,9 @@ static struct starpu_task * fifo_pull_task(struct starpu_sched_component * compo
 	STARPU_COMPONENT_MUTEX_LOCK(mutex);
 	struct starpu_task * task;
 	if (data->ready && to->properties & STARPU_SCHED_COMPONENT_SINGLE_MEMORY_NODE)
+#ifdef STARPU_DEVEL
+#warning In eager schedulers, we never write that we want to fill the fifo before picking up a task. Eager is then ineffective since in practice the fifo won't fill
+#endif
 		task = _starpu_fifo_pop_first_ready_task(queue, starpu_bitmap_first(&to->workers_in_ctx), -1);
 	else if (to->properties & STARPU_SCHED_COMPONENT_HOMOGENEOUS)
 		task = _starpu_fifo_pop_task(queue, starpu_bitmap_first(&to->workers_in_ctx));