Hacker News new | ask | show | jobs
by einpoklum 2097 days ago
> C++ for OpenCL is a clang specific project which remains to be seen if it ever will get any adoption.

About adoption - you're right. But about being Clang-specific - that's not an issue. That is, OpenCL is also specific to an OpenCL compiler; so the fact that compilation from C++-for-OpenCL to SPIR-V is clang-based is not a problem. We can still compile our host-side code with whatever compiler we like, but the runtime compiler of OpenCL C++ kernels will be clang-based.