소스 검색

Mention that just submitting everything should be preferred

Samuel Thibault 14 년 전
부모
커밋
3331629411
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  1. 10 0
      doc/starpu.texi

+ 10 - 0
doc/starpu.texi

@@ -1274,6 +1274,7 @@ TODO: improve!
 
 @menu
 * Data management::
+* Task submission::
 * Task scheduling policy::
 * Task distribution vs Data transfer::
 * Power-based scheduling::
@@ -1314,6 +1315,15 @@ OpenCL to make the allocation itself and pin the corresponding allocated
 memory. This is needed to permit asynchronous data transfer, i.e. permit data
 transfer to overlap with computations.
 
+@node Task submission
+@section Task submission
+
+To let StarPU make online optimizations, tasks should be submitted
+asynchronously as much as possible. Ideally, all the tasks should be
+submitted, and a mere @code{starpu_task_wait_for_all} call be done to wait for
+termination. StarPU will then be able to rework the whole schedule, overlap
+computation with communication, manage accelerator local memory usage, etc.
+
 @node Task scheduling policy
 @section Task scheduling policy