Syntax highlighting / intellisense for .cu files not working in VS2010 + CUDA 6.5

I’m not sure if it should be called highlighting or intellisense but when I, for example, roll over __syncthreads(); in the code the hint says ‘identifier is indefined’.

I changed the .cu file type in the editor to C/C++ and included cuda .h files, I don’t know what else I can do…

I tried to find ‘usertype.dat’ file, did a search over the whole C:\ drive, the file not found, I believe CUDA 6.5 doesn’t have it at all?

Any help will be appreciated.

I believe this is one of the few identifiers that’s not correctly handled by intellisense. Your code should compile fine… just ignore it :)