On 10/22/2012 01:17 PM, Sam Parker wrote:
> Ok, thanks for that. Sorry if I mislead you but my setup isn't really
> standalone; I will be using a host and simulator, however I need to compile
> the kernels and merge the work-items offline. I believe what I will need to
> do is modify your passes to do this without generating the workgroup
> functions, so that kernels can be used using the proper API.

OK then you might want to look at the TCE device driver under lib/CL
/devices/tce which does exactly this. It uses your native PC execution for
the host parts (including the kernel compilation) and the TCE's instruction
set simulator engine for the device parts. It interfaces between them by
accessing the ISS's memory models from the driver code to simulate the
memory transfers and synchronization etc.

-- 
Pekka

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel

Reply via email to