zoukankan      html  css  js  c++  java
  • CUDA学习。。。visual assist 扩展

    如果显卡支持CUDA,则可下载安装driver,如果不支持,只能在debug模式下运行了。
    必须安装的文件:
    1、CUDA tookit
    2、CUDA SDK
    3、(可选)CUDA vs wizard——对我的项目好像都不起作用
    高亮显示设置:
    安装visual assist x并使之扩展,方法如下:
    For VS2008, VS2005 and VS.NET:

    Add your extension to:

    Tools | Options | Projects | VC++ Build | C/C++ File Extensions (VS.NET)
    Tools | Options | Projects and Solutions | VC++ Project Settings | C/C++ File Extensions (VS2005, VS2008)

    Exit the IDE and use regedit to clone the following entry to a like entry that ends in your extension:

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0\Languages\File Extensions\.cpp

    If your extension denotes a header, use regedit to add the extension to ExtHeader in the following location. Remember to include the dot and terminating semicolon:

    HKEY_CURRENT_USER\Software\Whole Tomato\Visual Assist X\VANet8

    If your extension denotes a source file that is not a header, add the extension to ExtSource in the following location.
    还需要一步:在visual assist x的options的projects下的c/c++directions 下的custom stable include files中添加你的include文件目录。

    HKEY_CURRENT_USER\Software\Whole Tomato\Visual Assist X\VANet8

    Press Rebuild on the Performance tab of the Visual Assist X options dialog and restart your IDE.

    Replace 8.0 with 9.0 if you use VS 2008.
    Replace 8.0 with 7.1 if you use VS.NET 2003.
    Replace 8.0 with 7.0 if you use VS.NET 2002.

    Replace VANet8 with VSNet9 if you use VS2008.
    Replace VANet8 with VSNet if you use VS.NET 2003.
    Replace VANet8 with VANet7.0 if you use VS.NET 2002.

    For VC++ 6.0:

    Exit your IDE and use regedit to add the extension to:

    HKEY_CURRENT_USER\Software\Microsoft\DevStudio\6.0\Text Editor\Tabs/Language Settings\C/C++\FileExtensions.

    If your extension denotes a header, use regedit to add the extension to ExtHeader in the following location. Remember to include the dot and terminating semicolon:

    HKEY_CURRENT_USER\Software\Whole Tomato\Visual Assist X\VA6

    If your extension denotes a source file that is not a header, add the extension to ExtSource in the following location.Remember to include the dot and terminating semicolon:

    HKEY_CURRENT_USER\Software\Whole Tomato\Visual Assist X\VA6

    Press Rebuild on the Performance tab of the Visual Assist X options dialog and restart your IDE.



    使之可以运行的操作:
    1、右键项目属性使之debug模式改变。。并在tools-》options中添加executive files(添加sdk的bin目录)
    2、如果文件被告知没有什么cutil32D.dll文件,可以找到该文件考到.exe所在目录。
    类别:Cuda 查看评论
  • 相关阅读:
    零基础入门学习Python(11)--列表:一个打了激素的数组(2)
    零基础入门学习Python(10)--列表:一个打了激素的数组
    零基础入门学习Python(9)--了不起的分支和循环3
    零基础入门学习Python(8)--了不起的分支和循环2
    零基础入门学习Python(7)--了不起的分支和循环1
    标量子查询中有ROWNUM=1怎么改?
    零基础入门学习Python(6)--Python之常用操作符
    一次ORA-01555问题分析,及SQL优化。
    零基础入门学习Python(5)--闲聊之Python的数据类型
    Python内置函数(60)——compile
  • 原文地址:https://www.cnblogs.com/dorothychai/p/2268186.html
Copyright © 2011-2022 走看看