Intellisense in VS2010 Helloworld compiles and runs, but VS intellisense still shows error

Hi,

I have integrated Cuda in VS2010 by following the instructions here:

http://forums.nvidia.com/index.php?showtopic=184539

I Also created a small helloworld application which runs fine without any problems.

The problem is that in the IDE I still get red underscore on many declarations such as the global declaration. If I move the mouse over it I get a “Error: this declaration has no storage class or type specifier”. Basically all CUDA specific functions/declarations are underlined with red showing an error but all compiles ok and runs fine? any idea what might be causing this. (I attach a screenshot)

Thanks
Capture.PNG

Capture.PNG

Got it to work using:

http://www.ademiller.com/blogs/tech/2010/10/visual-studio-2010-adding-intellisense-support-for-cuda-c/