computecpp-sdk
computecpp-sdk copied to clipboard
Vulkan API back-end support?
I propose to add SPIR-V and Vulkan API compilation into C++ compiler. And compile as single binary file, or as DLL files. With possible static and dynamic library linking. Add host and device code support, like in CUDA compiler. But instead of CUDA/PTX, make Vulkan/SPIRV initialization and calls code. Yes, it bit harder...
This is pretty much impossible since SPIR-V shaders in Vulkan don't have the necessary execution model or the features as found with SPIR/SPIR-V kernels ...
I guess it explains why computecpp is pretty much a dead end with AMD only supporting SPIR 1.2 on GFX8 GPUs ...