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

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: 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.

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