소스 검색

Drop task synchronization, task dependencies work fine

Samuel Thibault 5 년 전
부모
커밋
d88c88f759
1개의 변경된 파일5개의 추가작업 그리고 3개의 파일을 삭제
  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