소스 검색

advise to use priorities

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

+ 11 - 0
doc/starpu.texi

@@ -1366,6 +1366,7 @@ TODO: improve!
 @menu
 * Data management::
 * Task submission::
+* Task priorities::
 * Task scheduling policy::
 * Task distribution vs Data transfer::
 * Power-based scheduling::
@@ -1415,6 +1416,16 @@ 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 priorities
+@section Task priorities
+
+By default, StarPU will consider the tasks in the order they are submitted by
+the application. If the application programmer knows that some tasks should
+be performed in priority (for instance because their output is needed by many
+other tasks and may thus be a bottleneck if not executed early enough), the
+@code{priority} field of the task structure should be set to transmit the
+priority information to StarPU.
+
 @node Task scheduling policy
 @section Task scheduling policy