Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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!

share|improve this question

1 Answer 1

up vote 1 down vote accepted

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

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

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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