瀏覽代碼

document which sched file is what

Samuel Thibault 14 年之前
父節點
當前提交
0ec22a9b3c

+ 2 - 0
src/sched_policies/deque_modeling_policy_data_aware.c

@@ -14,6 +14,8 @@
  * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  */
 
+/* Distributed queues using performance modeling to assign tasks */
+
 #include <core/workers.h>
 #include <sched_policies/fifo_queues.h>
 #include <core/perfmodel/perfmodel.h>

+ 2 - 0
src/sched_policies/deque_queues.c

@@ -14,6 +14,8 @@
  * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  */
 
+/* Deque queues, ready for use by schedulers */
+
 #include <starpu.h>
 #include <common/config.h>
 #include <core/workers.h>

+ 2 - 0
src/sched_policies/deque_queues.h

@@ -14,6 +14,8 @@
  * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  */
 
+/* Deque queues, ready for use by schedulers */
+
 #ifndef __DEQUE_QUEUES_H__
 #define __DEQUE_QUEUES_H__
 

+ 3 - 3
src/sched_policies/eager_central_policy.c

@@ -14,14 +14,14 @@
  * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  */
 
-#include <core/workers.h>
-#include <sched_policies/fifo_queues.h>
-
 /*
  *	This is just the trivial policy where every worker use the same
  *	JOB QUEUE.
  */
 
+#include <core/workers.h>
+#include <sched_policies/fifo_queues.h>
+
 /* the former is the actual queue, the latter some container */
 static struct starpu_fifo_taskq_s *fifo;
 

+ 5 - 0
src/sched_policies/eager_central_priority_policy.c

@@ -14,6 +14,11 @@
  * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  */
 
+/*
+ *	This is policy where every worker use the same JOB QUEUE, but taking
+ *	task priorities into account
+ */
+
 #include <starpu.h>
 #include <common/config.h>
 #include <core/workers.h>

+ 2 - 0
src/sched_policies/fifo_queues.c

@@ -14,6 +14,8 @@
  * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  */
 
+/* FIFO queues, ready for use by schedulers */
+
 #include <pthread.h>
 #include <sched_policies/fifo_queues.h>
 #include <errno.h>

+ 2 - 0
src/sched_policies/fifo_queues.h

@@ -14,6 +14,8 @@
  * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  */
 
+/* FIFO queues, ready for use by schedulers */
+
 #ifndef __FIFO_QUEUES_H__
 #define __FIFO_QUEUES_H__
 

+ 2 - 0
src/sched_policies/random_policy.c

@@ -14,6 +14,8 @@
  * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  */
 
+/* Policy attributing tasks randomly to workers */
+
 #include <core/workers.h>
 #include <sched_policies/fifo_queues.h>
 

+ 2 - 0
src/sched_policies/stack_queues.c

@@ -14,6 +14,8 @@
  * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  */
 
+/* Stack queues, ready for use by schedulers */
+
 #include <starpu.h>
 #include <sched_policies/stack_queues.h>
 #include <errno.h>

+ 2 - 0
src/sched_policies/stack_queues.h

@@ -14,6 +14,8 @@
  * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  */
 
+/* Stack queues, ready for use by schedulers */
+
 #ifndef __STACK_QUEUES_H__
 #define __STACK_QUEUES_H__
 

+ 2 - 0
src/sched_policies/work_stealing_policy.c

@@ -14,6 +14,8 @@
  * See the GNU Lesser General Public License in COPYING.LGPL for more details.
  */
 
+/* Work stealing policy */
+
 #include <core/workers.h>
 #include <sched_policies/deque_queues.h>