Преглед на файлове

fix data footprint computation when the scheduling policy doesn't make use of performance model and fxt is not activated

Samuel Thibault преди 14 години
родител
ревизия
9b8c8da952
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/core/perfmodel/perfmodel_history.c

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

@@ -670,7 +670,7 @@ void _starpu_update_perfmodel_history(starpu_job_t j, struct starpu_perfmodel_t
 
 		if (model->type == STARPU_HISTORY_BASED || model->type == STARPU_NL_REGRESSION_BASED)
 		{
-			uint32_t key = j->footprint;
+			uint32_t key = _starpu_compute_buffers_footprint(j);
 			struct starpu_history_entry_t *entry;
 
 			struct starpu_htbl32_node_s *history;