Similar to r209767, which exposed other CUDA-related attributes. Patch by Rob Springer. llvm-svn: 215208