浏览代码

mention that rdynamic must be used for mic

Samuel Thibault 10 年之前
父节点
当前提交
f75c132c78
共有 1 个文件被更改,包括 2 次插入1 次删除
  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