瀏覽代碼

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