
Originally Posted by
pdaw
I do not quite understand the usefulness of such a project. So you are compiling whatever comes from a LLVM frontend to OpenCL code and run it on a GPU. For which reason? So you can transform code from any language to OpenCL code instead of writing OpenCL code in the first place?
Also, you cannot just take code you wrote for a CPU and expect magic 100x speedup. Coding for a GPU is completely different. You need completely different algorithms to solve your problems and you need exact knowledge about the memory layout and capabilities for accessing memory addresses of your GPU. I'm not sure if this is what a LLVM backend can hide from you...