|
@@ -1,7 +1,7 @@
|
|
|
/* StarPU --- Runtime system for heterogeneous multicore architectures.
|
|
|
*
|
|
|
* Copyright (C) 2012, 2013, 2014 CNRS
|
|
|
- * Copyright (C) 2012, 2014 Université de Bordeaux
|
|
|
+ * Copyright (C) 2012, 2014, 2016 Université de Bordeaux
|
|
|
*
|
|
|
* StarPU is free software; you can redistribute it and/or modify
|
|
|
* it under the terms of the GNU Lesser General Public License as published by
|
|
@@ -202,7 +202,10 @@ int main(void)
|
|
|
float y = 2*l;
|
|
|
/* First wait for the C previous concurrent stages */
|
|
|
if (l >= C)
|
|
|
+ {
|
|
|
+ starpu_do_schedule();
|
|
|
sem_wait(&sems[l%C]);
|
|
|
+ }
|
|
|
|
|
|
/* Now submit the next stage */
|
|
|
ret = starpu_task_insert(&pipeline_codelet_x,
|