|
@@ -92,9 +92,8 @@ static int fifo_push_local_task(struct starpu_sched_component * component, struc
|
|
|
const double now = starpu_timing_now();
|
|
|
STARPU_COMPONENT_MUTEX_LOCK(mutex);
|
|
|
|
|
|
- if (data->ntasks_threshold != 0 && queue->ntasks >= data->ntasks_threshold)
|
|
|
+ if (!is_pushback && data->ntasks_threshold != 0 && queue->ntasks >= data->ntasks_threshold)
|
|
|
{
|
|
|
- STARPU_ASSERT(!is_pushback);
|
|
|
ret = 1;
|
|
|
STARPU_COMPONENT_MUTEX_UNLOCK(mutex);
|
|
|
}
|