Sfoglia il codice sorgente

note in kernel thread section about pause/resume

Samuel Thibault 6 anni fa
parent
commit
b24d6d548a
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4 0
      doc/doxygen/chapters/101_building.doxy

+ 4 - 0
doc/doxygen/chapters/101_building.doxy

@@ -396,6 +396,10 @@ If the application needs to reserve some cores for its own computations, it
 can do so with the starpu_conf::reserve_ncpus field, get the core IDs with
 can do so with the starpu_conf::reserve_ncpus field, get the core IDs with
 starpu_get_next_bindid(), and bind to them with starpu_bind_thread_on().
 starpu_get_next_bindid(), and bind to them with starpu_bind_thread_on().
 
 
+Another option is for the application to put the whole StarPU on pause with
+starpu_pause() before performing its own computations, and let StarPU resume
+executing tasks with starpu_resume().
+
 \subsection EnablingOpenCL Enabling OpenCL
 \subsection EnablingOpenCL Enabling OpenCL
 
 
 When both CUDA and OpenCL drivers are enabled, StarPU will launch an
 When both CUDA and OpenCL drivers are enabled, StarPU will launch an