CUDA是个好玩意儿,如今2.0BETA已经出来了,提供了不少特爱的特性,特别是对于3D纹理的支持。我也不清楚CUDA应用在目前个人一些项目中到底有多少潜力,但看来这个仍是个趋势,能够了解一下。今天在配置CUDA编程环境的时候,由于其后缀名是.CU的,因此VS2005的智能感知没法使用。再查询了一些文章之后,发现有下面的解决方案:php
We can use the tool Visual Assist X to implement it: First, find the Visual Assist X install directory: Program FilesVisual Assist XAutotext, 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_USERSS-1-5-21-1757981266-220523388-725345543-1003SoftwareWhole TomatoVisual Assist XVANet8 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.编程
原文app
本文同步分享在 博客“贺思聪”(other)。
若有侵权,请联系 support@oschina.cn 删除。
本文参与“OSC源创计划”,欢迎正在阅读的你也加入,一块儿分享。ui