|
@@ -272,9 +272,11 @@ int main(int argc, char **argv)
|
|
|
ret = starpu_task_insert(&cl, STARPU_R, handle_a, STARPU_R, handle_b, STARPU_W, handle_c, STARPU_TASK_SYNCHRONOUS, 1, 0);
|
|
|
fprintf(stderr,"task submitted %d\n", ret);
|
|
|
#else
|
|
|
- ret = starpu_task_insert(&cl1, STARPU_R, handle_a, STARPU_R, handle_b, STARPU_W, handle_ct1, STARPU_TASK_SYNCHRONOUS, 1, 0);
|
|
|
- ret = starpu_task_insert(&cl2, STARPU_R, handle_ct1, STARPU_R, handle_ct1, STARPU_W, handle_ct2, STARPU_TASK_SYNCHRONOUS, 1, 0);
|
|
|
- ret = starpu_task_insert(&cl3, STARPU_R, handle_ct2, STARPU_R, handle_ct2, STARPU_W, handle_c, STARPU_TASK_SYNCHRONOUS, 1, 0);
|
|
|
+ ret = starpu_task_insert(&cl1, STARPU_R, handle_a, STARPU_R, handle_b, STARPU_W, handle_ct1, 0);
|
|
|
+ fprintf(stderr,"task submitted %d\n", ret);
|
|
|
+ ret = starpu_task_insert(&cl2, STARPU_R, handle_ct1, STARPU_R, handle_ct1, STARPU_W, handle_ct2, 0);
|
|
|
+ fprintf(stderr,"task submitted %d\n", ret);
|
|
|
+ ret = starpu_task_insert(&cl3, STARPU_R, handle_ct2, STARPU_R, handle_ct2, STARPU_W, handle_c, 0);
|
|
|
fprintf(stderr,"task submitted %d\n", ret);
|
|
|
#endif
|
|
|
|