GPU编程之CUDA(五)——问题及解决

问题:

“BlackScholes.exe”: 已加载“F:\Program Files\NVIDIA Corporation\CUDA Samples\v6.0\Bin\win32\Debug\BlackScholes.exe”,已加载符号。
“BlackScholes.exe”: 已加载“C:\Windows\SysWOW64\ntdll.dll”,Cannot find or open the PDB file
“BlackScholes.exe”: 已加载“C:\Windows\SysWOW64\kernel32.dll”,Cannot find or open the PDB file
“BlackScholes.exe”: 已加载“C:\Windows\SysWOW64\KernelBase.dll”,Cannot find or open the PDB file
“BlackScholes.exe”: 已加载“C:\Windows\SysWOW64\shell32.dll”,Cannot find or open the PDB file
“BlackScholes.exe”: 已加载“C:\Windows\SysWOW64\msvcrt.dll”,Cannot find or open the PDB file
“BlackScholes.exe”: 已加载“C:\Windows\SysWOW64\shlwapi.dll”,Cannot find or open the PDB file
“BlackScholes.exe”: 已加载“C:\Windows\SysWOW64\gdi32.dll”,Cannot find or open the PDB file
“BlackScholes.exe”: 已加载“C:\Windows\SysWOW64\user32.dll”,Cannot find or open the PDB file
“BlackScholes.exe”: 已加载“C:\Windows\SysWOW64\advapi32.dll”,Cannot find or open the PDB file
“BlackScholes.exe”: 已加载“C:\Windows\SysWOW64\sechost.dll”,Cannot find or open the PDB file
“BlackScholes.exe”: 已加载“C:\Windows\SysWOW64\rpcrt4.dll”,Cannot find or open the PDB file
“BlackScholes.exe”: 已加载“C:\Windows\SysWOW64\sspicli.dll”,Cannot find or open the PDB file
“BlackScholes.exe”: 已加载“C:\Windows\SysWOW64\cryptbase.dll”,Cannot find or open the PDB file
“BlackScholes.exe”: 已加载“C:\Windows\SysWOW64\lpk.dll”,Cannot find or open the PDB file
“BlackScholes.exe”: 已加载“C:\Windows\SysWOW64\usp10.dll”,Cannot find or open the PDB file
“BlackScholes.exe”: 已加载“C:\Windows\SysWOW64\imm32.dll”,Cannot find or open the PDB file
“BlackScholes.exe”: 已加载“C:\Windows\SysWOW64\msctf.dll”,Cannot find or open the PDB file
“BlackScholes.exe”: 已加载“C:\Windows\SysWOW64\nvinit.dll”,Cannot find or open the PDB file
“BlackScholes.exe”: 已加载“C:\Program Files (x86)\NVIDIA Corporation\coprocmanager\detoured.dll”,Cannot find or open the PDB file
“BlackScholes.exe”: 已加载“C:\Program Files (x86)\NVIDIA Corporation\coprocmanager\Nvd3d9wrap.dll”,Cannot find or open the PDB file
“BlackScholes.exe”: 已加载“C:\Windows\SysWOW64\setupapi.dll”,Cannot find or open the PDB file
“BlackScholes.exe”: 已加载“C:\Windows\SysWOW64\cfgmgr32.dll”,Cannot find or open the PDB file
“BlackScholes.exe”: 已加载“C:\Windows\SysWOW64\oleaut32.dll”,Cannot find or open the PDB file
“BlackScholes.exe”: 已加载“C:\Windows\SysWOW64\ole32.dll”,Cannot find or open the PDB file
“BlackScholes.exe”: 已加载“C:\Windows\SysWOW64\devobj.dll”,Cannot find or open the PDB file
“BlackScholes.exe”: 已加载“C:\Program Files (x86)\NVIDIA Corporation\coprocmanager\nvdxgiwrap.dll”,Cannot find or open the PDB file
“BlackScholes.exe”: 已加载“C:\Windows\SysWOW64\nvcuda.dll”,Cannot find or open the PDB file
“BlackScholes.exe”: 已加载“C:\Windows\SysWOW64\ws2_32.dll”,Cannot find or open the PDB file
“BlackScholes.exe”: 已加载“C:\Windows\SysWOW64\nsi.dll”,Cannot find or open the PDB file
“BlackScholes.exe”: 已加载“C:\Windows\SysWOW64\dwmapi.dll”,Cannot find or open the PDB file
“BlackScholes.exe”: 已卸载“C:\Windows\SysWOW64\dwmapi.dll”
“BlackScholes.exe”: 已加载“C:\Windows\SysWOW64\nvapi.dll”,Cannot find or open the PDB file
“BlackScholes.exe”: 已加载“C:\Windows\SysWOW64\version.dll”,Cannot find or open the PDB file
“BlackScholes.exe”: 已加载“C:\Windows\SysWOW64\wintrust.dll”,Cannot find or open the PDB file
“BlackScholes.exe”: 已加载“C:\Windows\SysWOW64\crypt32.dll”,Cannot find or open the PDB file
“BlackScholes.exe”: 已加载“C:\Windows\SysWOW64\msasn1.dll”,Cannot find or open the PDB file
线程 'Win32 线程' (0x28c8) 已退出,返回值为 0 (0x0)。
线程 'Win32 线程' (0x2fa8) 已退出,返回值为 0 (0x0)。
程序“[13916] BlackScholes.exe: 本机”已退出,返回值为 0 (0x0)。

原因:

程序输出的地方是系统而不是VS2010

解决方法:

Ctrl + F5

或者在cmd命令行下执行程序

 

你可能感兴趣的:(C++,CUDA)