Kaynağa Gözat

explain a bit more the principle of building a modular scheduler around a scheduling decision component

Samuel Thibault 6 yıl önce
ebeveyn
işleme
4cb4b5176d

+ 5 - 2
doc/doxygen/chapters/350_scheduling_policy_definition.doxy

@@ -357,9 +357,12 @@ struct starpu_sched_policy _starpu_sched_tree_eager_prefetching_policy =
 };
 \endcode
 
+starpu_sched_component_initialize_simple_scheduler() is a helper function which
+makes it very trivial to assemble a modular scheduler around a scheduling
+decision component as seen above (here, a dumb eager decision component). Most
+often a modular scheduler can be implemented that way.
 
-starpu_sched_component_initialize_simple_scheduler is a helper function which
-makes it very trivial to assemble a modular scheduler. The modular scheduler can also be built by hand in the following way:
+That modular scheduler can also be built by hand in the following way:
 
 \code{.c}
 #define _STARPU_SCHED_NTASKS_THRESHOLD_DEFAULT 2