今天按照论坛上的方法安装cuda开发的相关软件,然后建立了自己的第一个工程测试下,但是build后出现了warning。
电脑是lenovo的**,显卡是GT240M。
driver用的是devdriver_3.2_winvista-win7_32_260.61_notebook
toolkit用的是cudatoolkit_3.1_win_32
SDK是gpucomputingsdk_3.2_win_32
安装顺序是 driver、toolkit、SDK,所有路径均为默认。
环境配置的过程中到了添加path环境变量的时候发现
C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 3.2\C\bin\win32文件夹下只有Debug和Release两个文件夹,没有对应的两个Emu文件夹。
之后安装了CUDA VS wizard,版本是CUDA_VS_Wizard_W32.2.2.beta1
之后在vs的建立向导中建立了CUDA的一个工程,直接对sample进行了build之后,结果显示没有错误,但是有10个warning信息。
内容如下:
1>sample.cu
1>D:/Temp/tmpxft_00000824_00000000-12_sample.cpp4.ii(1): warning: header name contains characters that cannot be represented in Unicode
1>C:\CUDA\include\cuda_runtime.h(883): warning: header name contains characters that cannot be represented in Unicode
1>C:\ProgramData\NVIDIA Corporation\NVIDIA GPU Computing SDK 3.2\C\common\inc\cutil_inline.h(35): warning: header name contains characters that cannot be represented in Unicode
1>c:/Users/(17): warning: header name contains characters that cannot be represented in Unicode
1>c:/Users/(47): warning: header name contains characters that cannot be represented in Unicode
请问我的环境配置是否正确?以上的警告信息如何改正,谢谢各位!我是新人,刚刚开始接触CUDA,希望得到各位的帮助,再次感谢。