Browse Source

component_workers must not be skipped from the ctx bitmap processing

Olivier Aumage 8 years ago
parent
commit
e90d0639d5
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/sched_policies/component_sched.c

+ 0 - 2
src/sched_policies/component_sched.c

@@ -271,8 +271,6 @@ void _starpu_sched_component_update_workers(struct starpu_sched_component * comp
 void _starpu_sched_component_update_workers_in_ctx(struct starpu_sched_component * component, unsigned sched_ctx_id)
 {
 	STARPU_ASSERT(component);
-	if(starpu_sched_component_is_worker(component))
-		return;
 	struct starpu_bitmap * workers_in_ctx = _starpu_get_worker_mask(sched_ctx_id);
 	starpu_bitmap_unset_and(component->workers_in_ctx,component->workers, workers_in_ctx);
 	int i,j;