Procházet zdrojové kódy

- use a more accurate variable name

Olivier Aumage před 11 roky
rodič
revize
a468167cc7
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  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)