소스 검색

fix tag_example3 termination

Samuel Thibault 15 년 전
부모
커밋
98d55dd7b7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      examples/tag_example/tag_example3.c

+ 1 - 1
examples/tag_example/tag_example3.c

@@ -92,7 +92,7 @@ static void create_task_grid(unsigned iter)
 		task->use_tag = 1;
 		task->tag_id = TAG(i, iter);
 
-		if (i != 0)
+		if (i != 1)
 			starpu_tag_declare_deps(TAG(i,iter), 1, TAG(i-1,iter));
 
 		starpu_submit_task(task);