- cross-posted to:
- c_lang@programming.dev
- cross-posted to:
- c_lang@programming.dev
Does it really make sense to have access to the entire C++ language to run on GPUs? Aren't basic constructs that you take for granted in a complicated general purpose language like C++ super-expensive on a GPU? For example, my understanding is that whenever a GPU runs into a branch, it has to essentially run that part of the code twice: once for each branch.
This is the best summary I could come up with:
Coming out of Saarland University is Vcc, the Vulkan Clang Compiler.
Vcc provides an "honest attempt to bring the entire C/C++ language family to Vulkan" as an interesting new compiler.
Vcc intends to support every legal use of these constructs per C/C++ language standards.
Vcc leverages the Shady project as an IR and compiler for extending the SPIR-V intermediate representation.
More details on the Vulkan Clang Compiler, which is still considered in its early stages of development, via this blog post and the new Vcc project site.
It will be very interesting to see where Vcc ends up and what new avenues it opens for Vulkan and GPU computing.
The original article contains 132 words, the summary contains 109 words. Saved 17%. I'm a bot and I'm open source!