Explorar o código

fix bogus value

Samuel Thibault %!s(int64=8) %!d(string=hai) anos
pai
achega
31d6d3bfa6
Modificáronse 1 ficheiros con 1 adicións e 2 borrados
  1. 1 2
      src/profiling/bound.c

+ 1 - 2
src/profiling/bound.c

@@ -278,8 +278,7 @@ void _starpu_bound_record(struct _starpu_job *j)
 	{
 		struct bound_task_pool *tp;
 
-		/* FIXME: bogus STARPU_CPU_WORKER parameter for arch pointer */
-		_starpu_compute_buffers_footprint(j->task->cl?j->task->cl->model:NULL, STARPU_CPU_WORKER, 0, j);
+		_starpu_compute_buffers_footprint(j->task->cl?j->task->cl->model:NULL, NULL, 0, j);
 
 		if (last && last->cl == j->task->cl && last->footprint == j->footprint)
 			tp = last;