We have moved to a new Sailfish OS Forum. Please start new discussions there.
15

[feature request] make OpenCL accessible on Jolla tab

asked 2014-12-28 16:06:17 +0200

sidv gravatar image

Although Intel ARK is not too specific concerning OpenCL features on the alleged CPU for the Jolla Tab, wikipedia believes the Gen7 Intel HD graphics in it should have full OpenCL 1.1 support.

As was established in another question here, the cell currently lacks support for OpenCL and no drivers from Qualcomm w/ OpenCL can be found for it.

It would be very nice for computationally taxing applications to have OpenCL bindings and runtime available on the tab. As Intel's OpenCL support via their beignet environment is mature and open-source, it should be possible to integrate it with Sailfish and offer the extra performance to codes that can make good use of it.

edit retag flag offensive close delete

3 Answers

Sort by » oldest newest most voted
4

answered 2015-01-15 16:53:40 +0200

thp gravatar image

This should be possible once libhybris gains an OpenCL wrapper. On the Jolla Phone, there is /system/lib/libOpenCL.so that just needs wrapping by libhybris and testing if it actually works.

edit flag offensive delete publish link more

Comments

Thanks a lot for the response!

So the GPU of the current SoC already supports OpenCL? Or is this a CPU-based implementation of OpenCL (FreeOCL/POCL)?

sidv ( 2015-01-15 18:08:17 +0200 )edit
2

answered 2014-12-29 10:08:11 +0200

bilog gravatar image

I would love to have Sailfish support OpenCL out of the box on both CPU and GPU (modulo driver availability, obviously) for both the phone and the tablet. CPU could be provided by something like pocl (CPU support is useful as fallback when GPU isn't supported).

edit flag offensive delete publish link more

Comments

True, especially to provide a single environment across the tab (where I suspect "real" OpenCL support to be easily possible) and the phone (where it may or may not be possible). Very clever remark, thanks a lot! :-)

sidv ( 2014-12-29 21:04:31 +0200 )edit
1

answered 2018-05-14 17:10:16 +0200

updated 2018-05-14 17:10:52 +0200

This February libhybris repository's got a commit with comment "hybris: Implement OpenCL support."

So it looks like OpenCL might be coming to Sailfish soon :)

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools

Follow
2 followers

Stats

Asked: 2014-12-28 16:06:17 +0200

Seen: 510 times

Last updated: May 14 '18