Can clang parse CUDA code?

Hello all,

I wish to write a source-code transformation tool to modify CUDA code. Any one can tell me whether current version of clang can parse CUDA code?

I searched and found some posts says that it doesn’t and doesn’t recognize some key words… The post was Mar. 2014. Is it still true now?


Hi Susan,

The latest discussion on this is probably The short answer is not yet.


But this is definitely an area of interest, so any help would be welcome!