3 ms·
Is there a programming language that compiles into any of the various kernel languages like Metal, CUDA, whatever AMD has, etc? If not, why not? We have C compi
by ok_dad 3y ago
Is there a programming language that compiles into any of the various kernel languages like Metal, CUDA, whatever AMD has, etc? If not, why not? We have C compilers that compile to various CPU architectures. Shouldn’t there be a compiler to GPU architectures? Perhaps it’s just that no one has created it yet?
- jawilson2 3y agoDo you count OpenCL? https://www.khronos.org/api/opencl https://www.khronos.org/api/opencl
- ok_dad 3y agoI think so, yes! Even more so because it works with CPU and other things too.
- ortichic 3y agoOpenMP 5 specified GPU support. A quick search suggests that some compilers at least partially support it by now