computecpp-sdk icon indicating copy to clipboard operation
computecpp-sdk copied to clipboard

Vulkan API back-end support?

Open unit-404 opened this issue 5 years ago • 1 comments

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...

unit-404 avatar Mar 21 '19 10:03 unit-404

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 ...

Degerz avatar May 23 '20 05:05 Degerz