Monday, December 19, 2011
NVIDIA CUDA 4.1 Compiler Now Built on LLVM
From the NVIDIA CUDA compiler team:
CUDA is a parallel programming model and platform created by NVIDIA for harnessing the power of hundreds of cores in modern graphics processing units (GPUs). NVIDIA provides free support for CUDA C and C++ in the CUDA toolkit. The CUDA programming environment consists of a compiler targeting NVIDIA GPUs and has been adopted by thousands of developers.
At NVIDIA we have switched over to using LLVM inside the CUDA C/C++ compiler for Fermi and future architectures. We use LLVM for optimizations and PTX code generation and for generating debug information for CUDA debugging. From a developer’s perspective the new compiler is functionally on par with the previous compilers and produces better code with better compile times. We have extended the LLVM core compiler to understand data parallel programming model. It is now available, as part of CUDA 4.1 and you can learn more here.
Our experience with the use of LLVM has been very positive, starting with a modern compiler infrastructure and with high quality optimizations contributed by a large community of developers. The effort required to learn LLVM infrastructure is quite small and reasonable.
Posted by Chris Lattner at 2:28 PM
Labels: llvm-users
NVIDIA宣布其CUDA 4.1 C/C++编译器现已基于LLVM构建,为Fermi及未来架构提供优化和PTX代码生成。此更新改善了编译时间和代码质量,同时保持了与先前编译器的功能一致性。
1319

被折叠的 条评论
为什么被折叠?



