2017年1月18日19:37:47
2、
配置cuda的环境变量,不需要配置,自动添加
3、cuda的安装成功与否的监测
cd C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\extras\demo_suite
直接执行bandwithTest.exe
再执行deviceQuery.exe
Rsult=PASS及说明,都通过了。如果Rsult=Fail 那不好意思,重新安装吧
4、
打开VS,新建cuda项目,编译运行
错误:
错误 1 error : The CUDA Toolkit v8.0 directory '' does not exist. Please verify the CUDA Toolkit is installed properly or define the CudaToolkitDir property to resolve this error. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\BuildCustomizations\CUDA 8.0.targets 514 9 cuda1
解决方法: