Enable syntax highliting for CUDA files in Visual Studio 2005
http://sarathc.wordpress.com/2008/09/04/how-to-enable-syntax-highlighting-for-cuda-files-in-visual-studio-2005/
1. Setup CUDA in your box. (Install the CUDA SDK and CUDA Toolkit)
2. Browse to “Microsoft Visual Studio 8\Common7\IDE” folder from your program files folder
3. Open the user “usertype.dat” file from the folder. If the file doesn’t exists, create a new one in the name.
4. Open the %Program Files%\NVIDIA Corporation\NVIDIA CUDA SDK\doc\syntax_highlighting\visual_studio_8
5. Append the content of “usertype.dat” to the previously opened “usertype.dat” file from “Microsoft Visual Studio 8\Common7\IDE”
6. Save the file
7. Open You IDE and Take Tools -> Options.
8. Under Text Editor -> File Extension tab, specify the extension “cu” as a new type (as pictured below)

0 Comments:
Post a Comment
<< Home