>From the pocl README, I was looking at this section:

> STANDALONE
>
> The "standalone compilation mode" is especially useful for embedded standalone
> platforms which do not include an operating system with a dynamic linker
> and still want to run OpenCL programs to exploit the language's parallelism.
> The key idea in the standalone mode is to link the OpenCL kernels statically
> to the host program and make the kernels appear in the "kernel registry" of
> the host API so they can be lauched from the main program without needing to
> invoke the runtime kernel compilation.
>
> The original targets of this method are the application-specific TTA 
> processors
> designed with the TTA-Based Co-design Environment (http://tce.cs.tut.fi) which
> now uses pocl for kernel compilation. TCE's compiler driver script tcecc 
> serves
> as an example how to register and launch the kernels seamlessly in the
> compilation/linkage chain of standalone OpenCL programs.
>
> The 'pocl-standalone' script can be used to compile OpenCL C kernels 
> separately
> to be linked with the main program in this setting.

I was trying to go down this route, but as I cross-compiled pocl, I
get this final link error:

  cannot find -lLLVM-3.1

- of course, I guess I thought that in standalone mode no llvm would
be needed on the embedded device, as all the cross-compilation of the
OpenCL application, as well as the OpenCL kernel takes place on the
build server, rather than the host?

btw, I also got an error for not being able to find -lffi, I wonder if
there should be an AC check for it ?


thanks,


A.

-- 
Alun Evans

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel

Reply via email to