up vote 0 down vote favorite
share [g+] share [fb]

I'm new to GPU-programming with CUDA and have just installed everyting on my machine to get started, and it's working. Big victory! However, when I open the code samples in VS(2005 and 2008) NVidia provides the cuda-program (.cu) files are just black and white. This is expected, but I wonder if there is any way to bring a bit more color into the program? I can recall reading about this somewhere in some release notes or the like, but now when I really want to see what it said I can't find the text.

Is there any way of high-lighting syntax in CUDA-programs and in such a case how?

Thanks!

link|improve this question

67% accept rate
feedback

1 Answer

up vote 1 down vote accepted

http://codereflect.com/2008/09/04/how-to-enable-syntax-highlighting-for-cuda-files-in-visual-studio-2005/

link|improve this answer
Thanks! Got it working and it looks gorgeous ;) – AnnaR Oct 21 '09 at 12:23
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.