Can't “Attach to Process” to debug using Nsight in Visual Studio 2008

可紊 提交于 2019-12-21 20:57:34

问题


I'm trying to debug a cuda application using Nsight with Visual Studio 2008, so I opened the Attach to Process dialog. I set the Transport to be Nsight GPU Debugger. I set the Qualifier to the name of my machine (MONAD in this case). I see a list of processes in the Available Processes widget, but they are all greyed out, and if I click on my application, it remains greyed out and I cannot click the attach button.

When I built the application I made sure to use the -G0 flag when compiling my .cu files with nvcc


回答1:


Please make sure you have set the monitor settings and the environment variables as described in the Nsight Visual Studio Edition 3.0 chapter Attach Debugging to a Running CUDA Process

Let me know if that helps. Thanks



来源:https://stackoverflow.com/questions/14984986/cant-attach-to-process-to-debug-using-nsight-in-visual-studio-2008

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!