|
|
@@ -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
|
|
|
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
|
|
|
-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
|
|
|
used instead of starpu_init(), so as to pass <c>argc</c> and
|