|
@@ -2,7 +2,7 @@
|
|
|
*
|
|
|
* Copyright (C) 2013 Inria
|
|
|
* Copyright (C) 2014,2017 CNRS
|
|
|
- * Copyright (C) 2014-2015,2017 Université de Bordeaux
|
|
|
+ * Copyright (C) 2014-2015,2017-2018 Université de Bordeaux
|
|
|
*
|
|
|
* StarPU is free software; you can redistribute it and/or modify
|
|
|
* it under the terms of the GNU Lesser General Public License as published by
|
|
@@ -57,13 +57,7 @@ static int eager_calibration_push_task(struct starpu_sched_component * component
|
|
|
{
|
|
|
if (idworker == workerid)
|
|
|
{
|
|
|
- if(starpu_sched_component_is_worker(component->children[i]))
|
|
|
- {
|
|
|
- if (component->children[i]->can_pull(component->children[i]))
|
|
|
- return 1;
|
|
|
- }
|
|
|
- else
|
|
|
- return starpu_sched_component_push_task(component,component->children[i],task);
|
|
|
+ return starpu_sched_component_push_task(component,component->children[i],task);
|
|
|
}
|
|
|
}
|
|
|
}
|