NVIDIA Open-Sources Its CUDA Compiler

Posted by Michael Larabel on December 14, 2011

It's not often that there's open-source news to report from the NVIDIA camp, but there's some great news this morning. NVIDIA Corp has open-sourced its CUDA compiler!

NVIDIA announced at GTC Asia in Bejing that they are opening up the CUDA platform by releasing their compiler surce-code. The new NVIDIA CUDA compiler is based upon LLVM.

NVIDIA says they are open-sourcing their CUDA compiler for "enabling [researchers and software vendors] to more easily add GPU support for more programming languages and support CUDA applications on alternative processor architectures."

The LLVM-based CUDA compiler is part of the CUDA Toolkit 4.1 release. Along with releasing the source-code, they are providing documentation on the CUDA IR (Intermediate Representation) format.

CUDA can now come to other processing architectures and even other non-NVIDIA GPUs.

This move isn't entirely surprising though based upon the growing presence of OpenCL and it becoming widely adopted across many CPU and GPU architectures.

While the CUDA compiler is now open-source, getting the actual source-code is a bit difficult at the moment. NVIDIA is making "qualified academic researchers and software tools developers" fill out a form, but when doing so you don't even have immediate access to the code. With that said, it's not known at the moment under which license NVIDIA is releasing the CUDA compiler.

NVIDIA announced this open-source move in a press release and comes just days after AMD open-sourced its IL code generator for OpenCL, which also utilizes LLVM.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite