Hello Umut,

On 07/14/2015 04:06 PM, Umut Ikibas wrote:
> That aside, considering pocl right now only supports CPUs, would there
> be any further changes necessary on pocl itself to make it support GPUs?
> Any pointers on how to make new (GPU-)devices work with pocl or
> concerning the realization of GPU-support in general (and its
> feasibility) would be appreciated.

There's a new activity towards adding GPU support via the HSA standard
to pocl.

I've pushed some proof of concept code using which I executed the
example1 successfully by using the HSA runtime API and AMDGCN backend
in LLVM tested on my Kaveri desktop. Thus, that could serve as an
example on how to add support for other GPU/SPMD devices as well.

We at CPC/TUT will work more on the HSA driver after the summer
vacations period is over, but the current code proves that the device
layer should work also for GPUs without major effort.

Also this implies that after the HSA support matures, LLVM
backend for the device is not a must anymore for getting OpenCL
support via pocl in case the target supports HSAIL. This hopefully
will be the case for many other than AMD devices in the future as
there are plenty of companies involved in the HSAFoundation.

> For the PowerVR GPU I am right now investigating the available
> information and toolkit concerning documentation, driver support, etc.
> Looking at the Intel platform I am aware of Beignet, which allows me to
> use OpenCL with the integrated GPU. However I would prefer a unified
> OpenCL implementation for both of my targets and as off now I am not yet
> sure about the possibilities to make Beignet support non-Intel hardware.
> So the general concept of pocl seems to be more reasonable for my cause
> and as Beignet itself is also based on LLVM maybe it is possibile to use
> its backend in combination with pocl. However, I have yet to look at
> that possibility as it just recently crossed my mind.

A beignet pocl driver has crossed my mind just to include the Intel
GPUs in the same pocl contexts, but no actions that I'm aware of has
been done to experiment with this possibility.

BR,
-- 
--Pekka

------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
pocl-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pocl-devel

Reply via email to