Nvidia Opens CUDA Platform, Releases Compiler Source Code
developer.nvidia.com
Nvidia Opens CUDA Platform, Releases Compiler Source Code
1–10 of 30 posts
Re: Nvidia Opens CUDA Platform, Releases Compiler Source Code
#2Re: Nvidia Opens CUDA Platform, Releases Compiler Source Code
#3Unfortunately, it does not say what license will be used, which is probably relevant if they want to create an ecosystem around the compiler.
However, it's worth noting that the compiler in question is LLVM based. So you can construct your own compiler frontend that generates LLVM IR code that can be compiled for CUDA by their backend. It's very likely that there are some CUDA-specific LLVM intrinsics, so the frontend will not be entirely independent of CUDA compiler licensing terms but at least now you have a somewhat open interchange format to use between your frontend and the CUDA backend.
Re: Nvidia Opens CUDA Platform, Releases Compiler Source Code
#4Re: Nvidia Opens CUDA Platform, Releases Compiler Source Code
#5Re: Nvidia Opens CUDA Platform, Releases Compiler Source Code
#6we just need documentation to understand what the generated code does then, as AFAIK the output is code for undocumented hardware.
Note that LLVM already has a (very experimental and not complete) PTX backend [2].
[1] http://developer.download.nvidia.com/compute/cuda/3_0/toolki...
[2] http://llvm.org/releases/3.0/docs/ReleaseNotes.html#whatsnew
Re: Nvidia Opens CUDA Platform, Releases Compiler Source Code
#7we just need documentation to understand what the generated code does then, as AFAIK the output is code for undocumented hardware.
Also people working with those devices are often scientists that are eager to share what they found out (if only to say "You're doing it wrong!"). See for example Vasily Volkov's work here http://www.cs.berkeley.edu/~volkov/
Re: Nvidia Opens CUDA Platform, Releases Compiler Source Code
#8This sounds very exciting! I guess it's not totally related, but I hope VLC Player will get better Nvidia hardware acceleration soon...!
Re: Nvidia Opens CUDA Platform, Releases Compiler Source Code
#9The pain is not in compiling GPU code; rather, the pain is in writing good GPU code. The major difference between NVIDIA and AMD (and the major edge NVIDIA has over AMD) is not as much the compiler as it is the libraries.
Of course, I'm biased, because I work at AccelerEyes and we do GPU consulting with our freely available, but not open source, ArrayFire GPU library, which has both CUDA and OpenCL versions.
Re: Nvidia Opens CUDA Platform, Releases Compiler Source Code
#10IMO, open sourcing their GPU libraries would be a much bigger deal than only open sourcing the compiler. I would like to see CUBLAS, CUFFT, CUSPARSE, CURAND, etc all get opened up to the community. The pain is not in compiling GPU code; rather, the pain is in writing good GPU code. The major difference between NVIDIA and AMD (and the major edge NVIDIA has over AMD) is not as much the compiler as it is the libraries.…