瀏覽代碼

note in kernel thread section about pause/resume

Samuel Thibault 6 年之前
父節點
當前提交
b24d6d548a
共有 1 個文件被更改,包括 4 次插入0 次删除
  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
 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
 
 When both CUDA and OpenCL drivers are enabled, StarPU will launch an