Sfoglia il codice sorgente

src/core/perfmodel/perfmodel_history.c: storing the data in the hashtable is not such a bad idea (Thanks Ludovic and Cyril for helping me to detect this hideous bug)

Nathalie Furmento 13 anni fa
parent
commit
ebfe4fb015
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. 1 0
      src/core/perfmodel/perfmodel_history.c

+ 1 - 0
src/core/perfmodel/perfmodel_history.c

@@ -73,6 +73,7 @@ static void insert_history_entry(struct starpu_history_entry *entry, struct star
 	table = (struct starpu_history_table*) malloc(sizeof(*table));
 	STARPU_ASSERT(table != NULL);
 	table->footprint = entry->footprint;
+	table->history_entry = entry;
 	HASH_ADD_UINT32_T(*history_ptr, footprint, table);
 }