Use kernel metadata to differentiate between kernel and device
authorJustin Holewinski <jholewinski@nvidia.com>
Sat, 30 Mar 2013 14:38:24 +0000 (14:38 +0000)
committerJustin Holewinski <jholewinski@nvidia.com>
Sat, 30 Mar 2013 14:38:24 +0000 (14:38 +0000)
commit368374308d6eae9caa6cbfbc9ed0932f9d08a286
tree85735fd658ab40fca1da4b06c840dc7dd4863113
parent59fd8ba5f57ed4b16de173c20ba4ae626a344a85
Use kernel metadata to differentiate between kernel and device
functions for the NVPTX target.

llvm-svn: 178418
clang/lib/CodeGen/TargetInfo.cpp
clang/test/CodeGenCUDA/ptx-kernels.cu
clang/test/CodeGenOpenCL/ptx-calls.cl
clang/test/CodeGenOpenCL/ptx-kernels.cl