CUDA Intelisence

  CUDA是个好玩意儿,现在2.0BETA已经出来了,提供了很多特爱的特性,特别是对于3D纹理的支持。我也不清楚CUDA应用在目前我的一 些项目中到底有多少潜力,但看来这个还是个趋势,可以了解一下。今天在配置CUDA编程环境的时候,因为其后缀名是.CU的,所以VS2005的智能感知 无法使用。再查询了一些文章以后,发现有下面的解决方案:

We can use the tool Visual Assist X to implement it:
First, find the Visual Assist X install directory:
"Program Files"Visual Assist X"Autotext, then make a copy of Cpp.tpl, rename it to Cu.tpl, apply same operation to the "Latest" directory.
Second, open the regedit table, and search it with the key word "Visual Assist X" until you find in the VANet8 in HKEY_USERS"S-1-5-21-1757981266-220523388-725345543-1003"Software"Whole Tomato"Visual Assist X"VANet8
Here you can see many attribute setting about Visual Assist X,
click the item ExtHeader and add the .cu in the list, same to the item ExtSource.
save and quit.

原文:http://forums.nvidia.com/index.php?showtopic=35669&hl=intellisense

posted @ 2008-06-05 16:01  Dream world 梦想天空  阅读(1227)  评论(4编辑  收藏  举报