Ver código fonte

Drop task synchronization, task dependencies work fine

Samuel Thibault 5 anos atrás
pai
commit
d88c88f759
1 arquivos alterados com 5 adições e 3 exclusões
  1. 5 3
      tests/perfmodels/max_fpga.c

+ 5 - 3
tests/perfmodels/max_fpga.c

@@ -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