瀏覽代碼

Bug fixed in combined_workers assignment.

Nicolas Collin 13 年之前
父節點
當前提交
ea8e2d05f8
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);