Browse Source

mention that GLUT has to be initialized first

Samuel Thibault 12 years ago
parent
commit
e0074c24b3
1 changed files with 2 additions and 1 deletions
  1. 2 1
      doc/chapters/advanced-examples.texi

+ 2 - 1
doc/chapters/advanced-examples.texi

@@ -1011,7 +1011,8 @@ constraints: peer memcpy has to be disabled, and the thread that runs OpenGL has
 to be the one that runs CUDA computations for that GPU.
 to be the one that runs CUDA computations for that GPU.
 
 
 To achieve this with StarPU, pass the @code{--disable-cuda-memcpy-peer} option
 To achieve this with StarPU, pass the @code{--disable-cuda-memcpy-peer} option
-to @code{./configure} (TODO: make it dynamic), the interoperability mode has to
+to @code{./configure} (TODO: make it dynamic), OpenGL/GLUT has to be initialized
+first, and the interoperability mode has to
 be enabled by using the @code{cuda_opengl_interoperability} field of the
 be enabled by using the @code{cuda_opengl_interoperability} field of the
 @code{starpu_conf} structure, and the driver loop has to be run by
 @code{starpu_conf} structure, and the driver loop has to be run by
 the application, by using the @code{not_launched_drivers} field of
 the application, by using the @code{not_launched_drivers} field of