[cfe-dev] clang frontend for cuda files.

Michal korgulec at gmail.com
Thu Jul 30 11:10:39 PDT 2009

I would like to be able to get AST of kernels written in CUDA, this is
mainly C with simple templates (no metaprogramming, templates are
usualy compile-time arguments to functions). Is clang C++ front end
able to parse such files? Examples can be found at
http://gpgpu.org/developer/cudpp or
http://www.nvidia.com/object/cuda_get.html (choose cuda sdk).
Of course there are some additional reserved keywords, so clang wont
work out of the box, but that isn't the main problem.


More information about the cfe-dev mailing list