Ver código fonte

some .state had not been changed into a .handle in the debug code

Cédric Augonnet 16 anos atrás
pai
commit
041343c93f
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/core/perfmodel/perfmodel_history.c

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

@@ -510,7 +510,7 @@ void update_perfmodel_history(job_t j, enum starpu_perf_archtype arch, double me
 		struct starpu_task *task = j->task;
 		for (i = 0; i < task->cl->nbuffers; i++)
 		{
-			data_state *state = task->buffers[i].state;
+			data_state *state = task->buffers[i].handle;
 
 			STARPU_ASSERT(state->ops);
 			STARPU_ASSERT(state->ops->display);