[3/3]
Regardless, none of these address natively compiling to the CPU.
There's promising things like VCC https://shady-gang.github.io/vcc/ but it seems too early and risky to base a project on it for now.
My use case is a raymarching based game engine, where the content is defined in terms of functions representing an SDF.
I want to be able to use these SDF-defining functions and their associated data in CPU and GPU compute for physics and gameplay, and on GPU graphics for rendering.
@julienbarnoin
- SYCL has potential, but it's not there yet, especially on Windows.
- ISPC on CPU is excellent, but although a test project showed SPIR-V to ISPC was workable for targetting CPU and GPU with the same code, it's not a supported feature. I also don't know if ISPC has a healthy future.