Просмотр исходного кода

Add missing doc for fpgaid env variable

Samuel Thibault лет назад: 4
Родитель
Сommit
fab1dfcf4d
1 измененных файлов с 11 добавлено и 0 удалено
  1. 11 0
      doc/doxygen/chapters/501_environment_variables.doxy

+ 11 - 0
doc/doxygen/chapters/501_environment_variables.doxy

@@ -429,6 +429,17 @@ environment variable \ref STARPU_WORKERS_FPGAID. By default, StarPU will
 create as many FPGA workers as there are GPU devices.
 </dd>
 
+<dt>STARPU_WORKERS_FPGAID</dt>
+<dd>
+\anchor STARPU_WORKERS_FPGAID
+\addindex __env__STARPU_WORKERS_FPGAID
+Similarly to the \ref STARPU_WORKERS_CPUID environment variable, it is
+possible to select which FPGA devices should be used by StarPU. On a machine
+equipped with 4 FPGAs, setting <c>STARPU_WORKERS_FPGAID = "1 3"</c> and
+<c>STARPU_NFPGA=2</c> specifies that 2 FPGA workers should be created, and that
+they should use FPGA devices #1 and #3 (the logical ordering of the devices is
+the one reported by FPGA).
+
 
 \subsection mpimsWorkers MPI Master Slave Workers
 <dl>