|
@@ -287,16 +287,16 @@ Specify the maximum number of SPUs that StarPU can use.
|
|
@table @asis
|
|
@table @asis
|
|
|
|
|
|
@item @emph{Description}:
|
|
@item @emph{Description}:
|
|
-Passing an array of integer (starting from 0) in @code{STARPU_WORKERS_CPUID}
|
|
|
|
-specifies on which logical cpu identifier the different workers should be
|
|
|
|
|
|
+Passing an array of integers (starting from 0) in @code{STARPU_WORKERS_CPUID}
|
|
|
|
+specifies on which logical CPU the different workers should be
|
|
bound. For instance, if @code{STARPU_WORKERS_CPUID = "1 3 0 2"}, the first
|
|
bound. For instance, if @code{STARPU_WORKERS_CPUID = "1 3 0 2"}, the first
|
|
worker will be bound to logical CPU #1, the second CPU worker will be bound to
|
|
worker will be bound to logical CPU #1, the second CPU worker will be bound to
|
|
logical CPU #3 and so on. Note that the logical ordering of the CPUs is either
|
|
logical CPU #3 and so on. Note that the logical ordering of the CPUs is either
|
|
determined by the OS, or provided by the @code{hwloc} library in case it is
|
|
determined by the OS, or provided by the @code{hwloc} library in case it is
|
|
available.
|
|
available.
|
|
|
|
|
|
-Note that the first workers correspond to the CUDA workers, then comes the
|
|
|
|
-OpenCL workers and the SPU workers, and finally the CPU workers. For example if
|
|
|
|
|
|
+Note that the first workers correspond to the CUDA workers, then come the
|
|
|
|
+OpenCL and the SPU, and finally the CPU workers. For example if
|
|
we have @code{STARPU_NCUDA=1}, @code{STARPU_NOPENCL=1}, @code{STARPU_NCPUS=2}
|
|
we have @code{STARPU_NCUDA=1}, @code{STARPU_NOPENCL=1}, @code{STARPU_NCPUS=2}
|
|
and @code{STARPU_WORKERS_CPUID = "0 2 1 3"}, the CUDA device will be controlled
|
|
and @code{STARPU_WORKERS_CPUID = "0 2 1 3"}, the CUDA device will be controlled
|
|
by logical CPU #0, the OpenCL device will be controlled by logical CPU #2, and
|
|
by logical CPU #0, the OpenCL device will be controlled by logical CPU #2, and
|