Просмотр исходного кода

Bug fixed in bundle data transfer calculation.

Duplicates are not allowed anymore, as it should be.
Nicolas Collin лет назад: 13
Родитель
Сommit
1fb91e1629
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/core/task_bundle.c

+ 1 - 1
src/core/task_bundle.c

@@ -262,7 +262,7 @@ static void insertion_handle_sorted(struct handle_list **listp, starpu_data_hand
 	/* Look for the element or a place to insert it. */
 	struct handle_list *prev = list;
 
-	while (list && (handle > list->handle))
+	while (list && (handle >= list->handle))
 	{
 		prev = list;
 		list = list->next;