Browse Source

doc/: document environment variable STARPU_OPENCL_ON_CPUS

Nathalie Furmento 12 years ago
parent
commit
433c9d7512
1 changed files with 7 additions and 0 deletions
  1. 7 0
      doc/chapters/configuration.texi

+ 7 - 0
doc/chapters/configuration.texi

@@ -305,6 +305,13 @@ create as many CUDA workers as there are CUDA devices.
 OpenCL equivalent of the @code{STARPU_NCUDA} environment variable.
 OpenCL equivalent of the @code{STARPU_NCUDA} environment variable.
 @end defvr
 @end defvr
 
 
+@defvr {Environment variable} STARPU_OPENCL_ON_CPUS
+By default, the OpenCL driver only enables GPU and accelerator
+devices. By setting the environment variable
+@code{STARPU_OPENCL_ON_CPUS} to 1, the OpenCL driver will also enable
+CPU devices.
+@end defvr
+
 @defvr {Environment variable} STARPU_WORKERS_NOBIND
 @defvr {Environment variable} STARPU_WORKERS_NOBIND
 Setting it to non-zero will prevent StarPU from binding its threads to
 Setting it to non-zero will prevent StarPU from binding its threads to
 CPUs. This is for instance useful when running the testsuite in parallel.
 CPUs. This is for instance useful when running the testsuite in parallel.