Hi Yue Hu,

On 06/04/2013 06:33 PM, Yue Hu wrote:
> Thank you. If I modify "pocl-pthread.h" as you said, will it really work? I
> means does "pocl" include functions that support "opencl implemention for
> GPU".

No, it currently does not exploit your GPU. There has been initial
attempts by the community to add support for some of AMD GPUs and also
NVIDIAs, but those are unfortunately not yet in an usable state.

> The reason I work with pocl is I would like to have my OpenCL program run on
> a machine that doesn't have OpenCL library. In addition, I also expect my
> program can make use of both CPU and GPU. Can pocl support this? Or it only
> support CPU case.

You should use ICD to use two different OpenCL implementations. Then your GPU
vendor's OpenCL implementation should appear as a separate platform, and pocl's
as a separate one. You then need to use the two different platforms to access
your GPU device and the device supported by pocl.

-- 
--Pekka

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. A cloud service to automate IT design, transition and operations
2. Dashboards that offer high-level views of enterprise services
3. A single system of record for all IT processes
http://p.sf.net/sfu/servicenow-d2d-j
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel

Reply via email to