• <ins id="pjuwb"></ins>
    <blockquote id="pjuwb"><pre id="pjuwb"></pre></blockquote>
    <noscript id="pjuwb"></noscript>
          <sup id="pjuwb"><pre id="pjuwb"></pre></sup>
            <dd id="pjuwb"></dd>
            <abbr id="pjuwb"></abbr>
            隨筆 - 505  文章 - 1034  trackbacks - 0
            <2008年8月>
            272829303112
            3456789
            10111213141516
            17181920212223
            24252627282930
            31123456


            子曾經曰過:編程無他,唯手熟爾!

            常用鏈接

            留言簿(94)

            隨筆分類(649)

            隨筆檔案(505)

            相冊

            BCB

            Crytek

            • crymod
            • Crytek's Offical Modding Portal

            Game Industry

            OGRE

            other

            Programmers

            Qt

            WOW Stuff

            搜索

            •  

            積分與排名

            • 積分 - 917332
            • 排名 - 14

            最新隨筆

            最新評論

            閱讀排行榜

            評論排行榜

            看了幾個小時的CUDA,大體了解了是干嗎的,沒啥成果,寫下這個文章,以后繼續研究
            //==============
            安裝好CUDA SDK后,在這個目錄下

            C:\Program Files\NVIDIA Corporation\NVIDIA SDK 10\NVIDIA CUDA SDK\doc\syntax_highlighting\visual_studio_8

            看里面的readme.txt就可以了。
            下面是內容:

            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.

            posted on 2007-02-25 00:14 七星重劍 閱讀(3199) 評論(4)  編輯 收藏 引用 所屬分類: Game Graphics

            FeedBack:
            # re: 讓vs2005支持NVDIA CUDA的cu文件語法高亮顯示 2007-02-25 09:41 Jedimaster
            末了看這readme.txt,只要把userdata.dat拷貝到IDE目錄下,然后運行那個注冊表文件就可以了  回復  更多評論
              
            # re: 讓vs2005支持NVDIA CUDA的cu文件語法高亮顯示 2007-06-25 14:53 davv
            不需要運行注冊表文件,也沒有什么注冊表文件,只需要copy usertype.dat到指定目錄,然后添加擴展名由vc++打開即可高亮顯示  回復  更多評論
              
            # re: 讓vs2005支持NVDIA CUDA的cu文件語法高亮顯示 2008-12-05 16:30 delacroix21cn
            可以通過vs2005的Tools菜單中的Options來設置的。

            方法是在打開的Options對話框中的Text Editor->File Extension中,將cu后綴設置為通過Microsoft Visual C++打開。  回復  更多評論
              
            # re: 讓vs2005支持NVDIA CUDA的cu文件語法高亮顯示 2008-12-05 16:33 delacroix21cn
            當然了,也要重啟vs2005  回復  更多評論
              
            亚洲精品国精品久久99热一| 久久99精品国产麻豆蜜芽| 亚洲av日韩精品久久久久久a| 国色天香久久久久久久小说| 乱亲女H秽乱长久久久| 久久亚洲天堂| 精品久久久久久亚洲| 久久久久久曰本AV免费免费| 久久精品视频网| 亚洲日本久久久午夜精品| 久久免费小视频| 中文精品久久久久人妻不卡| 久久精品国产72国产精福利| 99精品久久精品一区二区| 久久精品国产精品亚洲精品| 久久精品99无色码中文字幕| 91精品国产综合久久婷婷| 久久无码高潮喷水| 欧美久久亚洲精品| 久久精品?ⅴ无码中文字幕| 国内精品久久久久久99蜜桃| 精品伊人久久大线蕉色首页| 香蕉久久夜色精品国产尤物 | 久久精品国产清自在天天线| 成人综合伊人五月婷久久| 久久久久亚洲精品日久生情| 久久综合伊人77777| 久久99精品久久久久久水蜜桃| 97超级碰碰碰久久久久| 国产亚洲精品美女久久久| 亚洲精品乱码久久久久久久久久久久 | 亚洲精品乱码久久久久久中文字幕 | 久久综合视频网站| 久久久99精品成人片中文字幕| 久久精品一区二区国产| 久久青青草原综合伊人| 日韩精品国产自在久久现线拍| 国产成人精品久久二区二区| 91久久香蕉国产熟女线看| 久久综合九色综合97_久久久| 国产999精品久久久久久|