Explorar el Código

mention that rdynamic must be used for mic

Samuel Thibault hace 10 años
padre
commit
f75c132c78
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      doc/doxygen/chapters/18mic_scc_support.doxy

+ 2 - 1
doc/doxygen/chapters/18mic_scc_support.doxy

@@ -27,7 +27,8 @@ starpu_codelet::cpu_funcs_name, to provide StarPU with the function
 name of the CPU implementation. StarPU will thus simply use the
 name of the CPU implementation. StarPU will thus simply use the
 existing CPU implementation (cross-rebuilt in the MIC Xeon Phi case). The
 existing CPU implementation (cross-rebuilt in the MIC Xeon Phi case). The
 functions have to be globally-visible (i.e. not <c>static</c>) for
 functions have to be globally-visible (i.e. not <c>static</c>) for
-StarPU to be able to look them up.
+StarPU to be able to look them up, and -rdynamic must be passed to gcc (or
+-export-dynamic to ld) so that symbols of the main program are visible.
 
 
 For SCC execution, the function starpu_initialize() also has to be
 For SCC execution, the function starpu_initialize() also has to be
 used instead of starpu_init(), so as to pass <c>argc</c> and
 used instead of starpu_init(), so as to pass <c>argc</c> and