Re:Nvidia Opens CUDA Platform, Releases Compiler Source Code
by paxswill on Wednesday December 14, 2011 @02:50PM
(#3353300)
I'm pretty sure this is the case by playing with the OpenCL side of CUDA. If the '--version' flag is passed to the OpenCL compiler (at least the one with CUDA 3.0), info from an LLVM build from a year ago is dumped. The '-cl-nv-verbose' flag is also documented to pass '--verbose' to the ptxas assembler.
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