소스 검색

Make sure all workers try to take the task

Samuel Thibault 6 년 전
부모
커밋
474b849a8c
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/sched_policies/component_work_stealing.c

+ 2 - 2
src/sched_policies/component_work_stealing.c

@@ -2,7 +2,7 @@
  *
  * Copyright (C) 2013,2017                                Inria
  * Copyright (C) 2013,2014,2016,2017                      CNRS
- * Copyright (C) 2014-2018                                Université de Bordeaux
+ * Copyright (C) 2014-2019                                Université de Bordeaux
  * Copyright (C) 2013                                     Simon Archipoff
  *
  * StarPU is free software; you can redistribute it and/or modify
@@ -245,7 +245,7 @@ static int push_task(struct starpu_sched_component * component, struct starpu_ta
 	STARPU_COMPONENT_MUTEX_UNLOCK(wsd->mutexes[i]);
 
 	wsd->last_push_child = i;
-	component->can_pull(component);
+	starpu_sched_component_can_pull_all(component);
 	return ret;
 }