Ver código fonte

- use a more accurate variable name

Olivier Aumage 11 anos atrás
pai
commit
a468167cc7
1 arquivos alterados com 3 adições e 3 exclusões
  1. 3 3
      src/drivers/cpu/driver_cpu.c

+ 3 - 3
src/drivers/cpu/driver_cpu.c

@@ -61,14 +61,14 @@ static int execute_job_on_cpu(struct _starpu_job *j, struct starpu_task *worker_
 #ifdef STARPU_OPENMP
 	/* At this point, j->continuation as been cleared as the task is being
 	 * woken up, thus we use j->discontinuous instead for the check */
-	const unsigned continuation = j->discontinuous;
+	const unsigned continuation_wake_up = j->discontinuous;
 #else
-	const unsigned continuation = 0;
+	const unsigned continuation_wake_up = 0;
 #endif
 
 	STARPU_ASSERT(cl);
 
-	if (rank == 0 && !continuation)
+	if (rank == 0 && !continuation_wake_up)
 	{
 		ret = _starpu_fetch_task_input(j);
 		if (ret != 0)