소스 검색

document how to make simgrid limit the available amount of memory

Samuel Thibault 13 년 전
부모
커밋
f62e84c769
1개의 변경된 파일5개의 추가작업 그리고 0개의 파일을 삭제
  1. 5 0
      doc/chapters/perf-optimization.texi

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

@@ -548,6 +548,11 @@ The number of devices can be chosen as usual with @code{STARPU_NCPU},
 cpus can be arbitrarily chosen. The number of CUDA and OpenCL devices have to be
 cpus can be arbitrarily chosen. The number of CUDA and OpenCL devices have to be
 lower than the real number on the current machine.
 lower than the real number on the current machine.
 
 
+The amount of simulated GPU memory is for now unbound by default, but
+it can be chosen by hand through the @code{STARPU_LIMIT_CUDA_MEM},
+@code{STARPU_LIMIT_CUDA_devid_MEM}, @code{STARPU_LIMIT_OPENCL_MEM}, and
+@code{STARPU_LIMIT_OPENCL_devid_MEM} environment variables.
+
 The Simgrid default stack size is small; to increase it use the
 The Simgrid default stack size is small; to increase it use the
 parameter @code{--cfg=contexts/stack_size}, for example:
 parameter @code{--cfg=contexts/stack_size}, for example: