Browse Source

Bug fixed in combined_workers assignment.

Nicolas Collin 13 years ago
parent
commit
ea8e2d05f8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/sched_policies/detect_combined_workers.c

+ 1 - 1
src/sched_policies/detect_combined_workers.c

@@ -399,7 +399,7 @@ static void find_and_assign_combinations_with_hwloc(struct starpu_machine_topolo
     {
 	/* find_and_assign_combinations_with_hwloc_recursive shouldn't return
 	 * while there are enough workers to assign regarding the min_size value */
-	STARPU_ASSERT(nb_workers < max_size);
+	STARPU_ASSERT(nb_workers <= max_size);
 
 	int ret = starpu_combined_worker_assign_workerid(nb_workers, tree.workers);
 	STARPU_ASSERT(ret >= 0);