I tried enabling the intellisense support for CUDA in VS2010 via the instructions provided in the link: #2782 » Blog Archive » Visual Studio 2010 Adding Intellisense Support for CUDA C
The syntax is now highlighted in blue , but the editor still underline them as errors (although the source compile perfectly).
External Media
Did i miss out something in the instruction?
I tried enabling the intellisense support for CUDA in VS2010 via the instructions provided in the link: #2782 » Blog Archive » Visual Studio 2010 Adding Intellisense Support for CUDA C
The syntax is now highlighted in blue , but the editor still underline them as errors (although the source compile perfectly).
External Media
Did i miss out something in the instruction?
All right i found out what i have missed, i should have included these:
#include <cuda_runtime.h>
#include <device_launch_parameters.h>
All right i found out what i have missed, i should have included these:
#include <cuda_runtime.h>
#include <device_launch_parameters.h>
aelray
5
same worked for me but i still got an error after defining a texture
texture<unsigned char, 3, cudaReadModeElementType> texVolref;
the word texture gets underlined saying: “Error: texture is not a template”
any ideas how to solve this?
Does this solution give autocompletion for cuda types like those long flag names?