Переглянути джерело

Bug fixed in bundle data transfer calculation.

Duplicates are not allowed anymore, as it should be.
Nicolas Collin 13 роки тому
батько
коміт
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;