Parcourir la source

src/core/perfmodel/perfmodel_history.c: remove test to detect if the key is present in the table. This was copied from the old hahstable implementation. I am not sure what the semantics of the test was. This needs to be clarified.

Nathalie Furmento il y a 13 ans
Parent
commit
dddf3b39f8
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      src/core/perfmodel/perfmodel_history.c

+ 2 - 2
src/core/perfmodel/perfmodel_history.c

@@ -67,8 +67,8 @@ static void insert_history_entry(struct starpu_history_entry *entry, struct star
 	*list = link;
 
 	/* detect concurrency issue */
-	HASH_FIND_UINT32_T(*history_ptr, &entry->footprint, table);
-	STARPU_ASSERT(table == NULL);
+	//HASH_FIND_UINT32_T(*history_ptr, &entry->footprint, table);
+	//STARPU_ASSERT(table == NULL);
 
 	table = (struct starpu_history_table*) malloc(sizeof(*table));
 	STARPU_ASSERT(table != NULL);