Browse Source

Add missing flush for STARPU_TASK_PROGRESS

Samuel Thibault 4 years ago
parent
commit
1939f6d16b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/core/jobs.c

+ 1 - 0
src/core/jobs.c

@@ -289,6 +289,7 @@ void _starpu_handle_job_termination(struct _starpu_job *j)
 		unsigned long jobs = STARPU_ATOMIC_ADDL(&njobs_finished, 1);
 
 		printf("\r%lu tasks finished...", jobs);
+		fflush(stdout);
 	}
 
 	struct starpu_task *task = j->task;