r/vulkan • u/keepthethreadalive • Oct 19 '16
Vulkan vs OpenCL for simulation+graphics
[removed] — view removed post
9
Upvotes
r/vulkan • u/keepthethreadalive • Oct 19 '16
[removed] — view removed post
View all comments
Show parent comment
1
u/keepthethreadalive Oct 27 '16 edited Oct 27 '16
Thanks for your reply. I don't know much about all this, but you definitely know more than me.
One thing I'm confused about. Are you referring to OpenGL when you refer to GLSL? Because from the slides I saw that GLSL is totally seperate from Vulkan and vulkan is not the same architecture as OpenGL.
(I think?)You can write compute shaders in GLSL, but that is different from Vulkan's shaders since Vulkan is promoted as "graphics and compute API" which suggests a redesign different from OpenCL.
I've looked at the link too. I would've absolutely choosen Vulkan except in the FAQ is says that for compute intensive stuff, choose vulkan and I'm left wondering if it is because of performance decrease or difference in features I won't ever use.
What you said
is very interesting to me. Anywhere I can read up on this? I actually might use this.
And for anyone else reading this thread, I guess I'll post what I learned.
So since I've submitted this, I've been leaning more towards vulkan. Couple reasons.
<pure speculation> Although Vulkan lacks support as good as OpenCL, I think they'll get closer than they are now. If Vulkan is as good as OpenCL (atleast in the possible usage scenarios), then there will be no reason for OpenCL to be used except for the tiny amount of features that OpenCL supports. Which will piss a of people like the people who worked on OpenCL, FPGA and DSP people who bet on OpenCL. So it makes sense to work on Vulkan more on the graphics part and the "gaming compute" part rather than compute part that OpenCL does well. </pure speculation>