BANGALORE, INDIA: Nvidia has declared that the LLVM (a popular open source compiler) will now support GPUs.
In order to provide the CUDA compiler source code changes to the LLVM core and parallel thread execution backend, the company worked with LLVM developers. Through this, programmers can now develop applications for GPU accelerators using a broader selection of programming languages.
LLVM is a widely used open source compiler infrastructure. Its modular design makes it easy to provide an additional support for programming languages and processor architectures. To accelerate accelerating application using the Nvidia GPUs, the CUDA compiler provides C, C++ and Fortran support.
"The code we provided to LLVM is based on proven, mainstream CUDA products, giving programmers the assurance of reliability and full compatibility with the hundreds of millions of Nvidia GPUs installed in PCs and servers today," said Ian Buck, general manager, GPU computing software, Nvidia.
LLVM is also the compiler infrastructure Nvidia uses for its CUDA C/C++ architecture, and it has been widely adopted by companies such as Apple, AMD and Adobe. It supports a wide range of programming languages and front ends, including C/C++, Objective-C, Fortran, Ada, Haskell, Java bytecode, Python, Ruby, ActionScript, GLSL and Rust.