Prechádzať zdrojové kódy

TODO: document which kernel threads StarPU starts

Samuel Thibault 14 rokov pred
rodič
commit
fe4312c0c9
1 zmenil súbory, kde vykonal 10 pridanie a 0 odobranie
  1. 10 0
      doc/starpu.texi

+ 10 - 0
doc/starpu.texi

@@ -339,6 +339,7 @@ configuration:
 @menu
 @menu
 * Setting flags for compiling and linking applications::  
 * Setting flags for compiling and linking applications::  
 * Running a basic StarPU application::  
 * Running a basic StarPU application::  
+* Kernel threads started by StarPU::
 * Using accelerators::          
 * Using accelerators::          
 @end menu
 @end menu
 
 
@@ -388,6 +389,15 @@ Please note that buses are benchmarked when StarPU is launched for the
 first time. This may take a few minutes, or less if @code{hwloc} is
 first time. This may take a few minutes, or less if @code{hwloc} is
 installed. This step is done only once per user and per machine.
 installed. This step is done only once per user and per machine.
 
 
+@node Kernel threads started by StarPU
+@section Kernel threads started by StarPU
+
+TODO: StarPU starts one thread per CPU core and binds them there, uses one of
+them per GPU. The application is not supposed to do computations in its own
+threads. TODO: add a StarPU function to bind an application thread (e.g. the
+main thread) to a dedicated core (and thus disable the corresponding StarPU CPU
+worker).
+
 @node Using accelerators
 @node Using accelerators
 @section Using accelerators
 @section Using accelerators