Re:Apple Joins Blender Development Fund
by zozbot234 on Thursday October 14, 2021 @06:03PM
(#28870786)
AIUI, Vulkan Compute is just missing a few math-focused extensions compared to OpenCL. The OpenCL memory model is also more full-featured (i.e. it allows for general pointers) but that can be addressed via other Vulkan extensions.
The more annoying variation between the two is the need to refactor the code from using "kernels" to "compute shaders", but that's just a difference in the underlying programming model.
Yeah, and is also "just" misses having an ecosystem like SYSCL or CUDA for C++, with polyglot infrastructure targeting the GPU.
Yes, there is SPIR-V, yet few care to target it in practice, besides typical shading languages.
The only cross platform alternative that actually works is OpenCL, but Blender is moving away from OpenCL, mostly because literally every GPU vendor is doing so as well.