Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Why doesn't OpenCL allow goto or recursion?

Name: Anonymous 2016-01-15 23:00

Or why does it exist in the first place considering that C is supposed (and technically can) run on almost everything. Is it just laziness on their part?

And why would OpenCL and GLSL be a different languages?

Name: Anonymous 2016-01-15 23:30

You obviously don't know anything about GPUs.

Name: Anonymous 2016-01-16 0:03

OpenCL has goto.

Name: Anonymous 2016-01-16 0:37

>>2
Howso?

Name: Anonymous 2016-01-16 2:47

Name: Anonymous 2016-01-16 13:48

What does this have anything to do with the thread, >>5-chan?

Name: suigin 2016-01-16 22:44

The latest OpenCL 2.1 and SPIR-V specs support recursion and goto. Vulkan will also support it.

Unfortunately, you likely aren't going to see widespread support for this on older hardware, only GPUs released in the last year and later.

Name: Anonymous 2016-01-16 23:41

>>7
Unfortunately, you likely aren't going to see widespread support for this on older hardware,
I can't see why, considering that it is trivial to implement these in your own code.

Don't change these.
Name: Email:
Entire Thread Thread List