OpenHero 开勇

Open heart, bravely fly!

赵开勇ID:OpenHero
201443次访问,排名314好友87人,关注者82
OpenHero的文章
原创 233 篇
翻译 2 篇
转载 49 篇
评论 375 篇
OpenHero 开勇的公告
最近评论
guoji56:学习中…………
gimy:20w,我1/20都不到……惭愧……
jun:support
superlocust:非常好,赞一个
123:ha ah
文章分类
收藏
    相册
    相册
    自己
    参与的开源项目
    Scilab Robotics Toolbox
    常去的几个地方
    Robocup 机器人足球官方站点
    RTSJ
    感兴趣的开源项目
    Flash得开源代码
    Robocup server
    存档
    软件项目交易
    订阅我的博客
    XML聚合  FeedSky
    订阅到鲜果
    订阅到Google
    订阅到抓虾
    订阅到BlogLines
    订阅到Yahoo
    订阅到GouGou
    订阅到飞鸽
    订阅到Rojo
    订阅到newsgator
    订阅到netvibes

    翻译 syntax highlighting when editing your .cu files in Visual Studio收藏

    新一篇: CUDA VS2005 Wizard

    Want pretty syntax highlighting when editing your .cu files in Visual Studio?
    Heres how:

    ---
    Visual Studio .Net 2005 / Visual Studio 8:

    1. If you don't have a usertype.dat file in your "Microsoft Visual Studio 8\Common7\IDE" folder, then copy the included usertype.dat file there.  If you do, append the contents of the included usertype.dat onto the end of the "Microsoft Visual Studio 8\Common7\IDE\usertype.dat"

    2. Start Visual Studio 8.  Select the menu "Tools->Options...".  Open "Text Editor" in the tree view on the left, and click on "File Extension".  Type cu in the "Extension" box, and click "Add".  Click "OK" on the dialog box. 

    3. Restart Visual Studio and your shaders should now have syntax highlighting.

    ps: 上面的内容来至 C:\Program Files\NVIDIA Corporation\NVIDIA CUDA SDK\doc\syntax_highlighting\visual_studio_8\readme.txt

    在添加cu的时候,最好选择vc++的编辑器做为cu默认编辑器,这样就可以使用c/C++的规则来编辑cu文件

    发表于 @ 2008年04月17日 17:06:00|评论(loading...)|编辑

    旧一篇: 目前支持CUDA的nVIDIA的显卡型号 驱动及其 修改过后的 inf文件

    评论

    #Cyrosly 发表于2008-04-17 17:07:32  IP: 219.137.212.*
    ^-^
    #OpenHero 发表于2008-04-17 17:12:43  IP: 158.182.7.*
    这么快就有回复了,呵呵
    发表评论  


    登录
    Csdn Blog version 3.1a
    Copyright © OpenHero 开勇