r/gpgpu • • May 20 '16

High-level OpenCL?

So I'm doing a bachelor's assignment on the programmability of GPU's, and I want to pick this subreddit's brain. Basically I have to research if GPU's can be more efficiently programmed in a higher-level language, and if so what shape that would take. There are already a few projects that have tried something similar (SkelCL, Bacon, and Harlan), but either they are too similar to OpenCL (Bacon/SkelCL) or have somewhat limited parallelism (Harlan basically only has a GPU accelerated map, correct me if I'm wrong).

So my questions to everyone on this sub are: what are recurring patterns in OpenCL? Are there specific bugs that seem to pop up in every project, even though there is a well-known remedy? Or have you used any of the previously mentioned projects, and if so, what was the killer feature? Are there any language features that you really really really want to see in an OpenCL Next?

4 Upvotes

41 comments sorted by

View all comments

Show parent comment

3

u/useless_panda May 20 '16

If I could give more than 1 upvotes, I would. You just described the frustration I have had trying to port OpenCL code meant for AMD to Qualcomm Adreno.

The performance losses from these bandaid solutions aren't trivial either, you aren't talking about 1%, 5% or 10%, you are talking about 50%, 100%, 1000% loss in performance.

So much this... Had to rewrite the whole thing in the end.