一般验证cuda,在默认路径去打开bandwidthTest.exe和deviceQuery.exe,可是我打开时就出现闪退
如果是在C盘,则需要用管理员身份打开CMD
步骤
1.在搜素框输出cmd
2.找到exe文件路径,如我的路径是C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\extras\demo_suite(默认路径)
cd C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.1\extras\demo_suite
3.输入bandwidthTest.exe
然后最后出现Result = PASS就行了
4.输入deviceQuery.exe
然后最后出现Result = PASS就行了