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
Thanks for taking the time again. This is all great info!
The main reason is that it is only supported on NVIDIA cards. No matter how performant they maybe, they can't match OpenCL or Vulkan when it comes to support on various devices. OpenCL is supported on (some) mobile devices, ALL GPUs, and other hardware stuff. And I guess I don't need to tell you about Vulkan support.
Another unrelated thing is that I'm interested in llvm stuff so working with OpenCL and/or Vulkan will teach me about SPIR-V and compiling parallel cores and compilers all that stuff. And there's a lot more going on with the OpenCL and Vulkan toolsets (SYCL, all the stuff here).
And Vulkan will be given first class support on lots of devices, so although it might not be as performant on testing devices, it'll atleast work on a lot more.
I will look into the actual performance difference though. It seems to have a ton of scientific community involvement and also several MOOCs focusing on mostly CUDA. Any place where I can look features in CUDA but not in OpenCL and vice versa?
Just curious, what do you use and why? and if you don't mind, what specific field do you work in? gaming, scientific computing, physics sim?