Kaynağa Gözat

doc/chapters/perf-optimization.texi: simgrid option --cfg=contexts/stack_size to set stack size

Nathalie Furmento 13 yıl önce
ebeveyn
işleme
e034b9ada9
1 değiştirilmiş dosya ile 9 ekleme ve 0 silme
  1. 9 0
      doc/chapters/perf-optimization.texi

+ 9 - 0
doc/chapters/perf-optimization.texi

@@ -444,3 +444,12 @@ STARPU_NCPU=12 STARPU_NCUDA=2 STARPU_NOPENCL=0 ./example
 
 For now, only the number of cpus can be arbitrarily chosen. The number of CUDA
 and OpenCL devices have to be lower than the real number on the current machine.
+
+The Simgrid default stack size is small, to increase it use the
+parameter @code{--cfg=contexts/stack_size}, for example:
+
+@cartouche
+@smallexample
+STARPU_NCPU=12 STARPU_NCUDA=2 STARPU_NOPENCL=0 ./example --cfg=contexts/stack_size:8192
+@end smallexample
+@end cartouche