Hi, 
> 
> - How should the driver interface look like? What have to be done to
> register our target as PoCL device? I want clGetDeviceIDs return ID
> for our target also query the device info.

The interface is a set of function pointers collected to a struct.
See prototypes.inc and its uses in the existing drivers. 

> - As I see, I need only to make a "device" implementation similar to
> "pthread" and "tce" but not to modify the OpenCL library
> implementation (I mean the files such as clBuildProgram.c,
> clCreateBuffer.c, etc.). Am I on the right way?

Yes.

> - What is "tce" device exactly? What kind of changes should I make
> there, if necessary, to convert it to a custom target? And how can I
> made tce device available for clGetDeviceIDs function?

TCE is a tool for creating custom processors. See http://tce.cs.tut.fi
If you install TCE and then configure pocl, the tce driver should be
available.
I would guess basic is a easier driver to start customising than the
tce one.


kalle

------------------------------------------------------------------------------
Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world's largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel

Reply via email to