An Open Source Compiler From CUDA To X86-Multicore 71
Gregory Diamos writes "An open source project, Ocelot, has recently released a just-in-time compiler for CUDA, allowing the same programs to be run on NVIDIA GPUs or x86 CPUs and providing an alternative to OpenCL. A description of the compiler was recently posted on the NVIDIA forums. The compiler works by translating GPU instructions to LLVM and then generating native code for any LLVM target. It has been validated against over 100 CUDA applications. All of the code is available under the New BSD license."
Doesn't sound like a compiler (Score:4, Interesting)
Re:Alternative? (Score:3, Interesting)
When did AMD drop the ATI brand?
Re:Wait wut? (Score:1, Interesting)
Suppose you have working CUDA code but your dataset is relatively small, say a block of 1000 floating point numbers. Then the overhead of delegating the work to the GPU isn't necessarily worth the trouble.
Re:Wait wut? (Score:3, Interesting)
For running legacy apps that were developed between the release of CUDA and the release of OpenCL. There aren't many, I'd guess.
Sounds like there is great potential for a tool that will convert CUDA to OpenCL.