[cfe-dev] clang parsing: find cuda specific statements (__syncthreads())
felix.schmitt at zih.tu-dresden.de
Mon Jul 18 02:37:42 PDT 2011
I wondered how to find CUDA specific statements (such as __syncthreads) in a
parsed kernel file. This should be possible as the ptx-backend seems to support
those. However, I couldn't get it by traversing the AST (not listed there).
I am using the clang API for parsing and transforming the code.
Any hints would be very helpful.
More information about the cfe-dev