问题
I am trying to setup a remote Nsight v2.2 debugger for GPU debugging only(no CUDA). I have followed this Nvidia pdf for setting up the remote target machine and the development machine. All are up and running, but the communication between the two is not proper. I am getting errors like MSVSMON.exe not running on remote machine etc. I am not sure about the exact settings required. What should be the,
- VS2010 project settings
- Nsight Monitor(remote machine) settings
- Nsight Settings in VS2010 and development machine.
回答1:
what kind of activity are you trying to do (CUDA, API or shader DX debugging)? If any of the above, there's no need for running MSVSMON. Just make sure you:
- Run the Nsight Monitor (on the remote system)
- Read about other monitor options in the Setting up remote debugging docs
- (on the host side) Right click on VS 2010 project and select "Nsight user properties" and type in the remote machine name under the "connection name" setting
- If you do not want to sync (which means it will copy files over to the target machine), then go under the "Synchronization" node and make changes there. See the docs on Synchronization (Click OK to accept all the monitor changes)
- Now you should be able to select if you wish to debug CUDA or graphics from the Nsight menu and this will launch what you need on the remote machine.
- Note: do not do "F5" as it will launch the Microsoft (CPU) debugger
Hopefully that helps you. If you have new/other questions, please check out the NVIDIA forums
来源:https://stackoverflow.com/questions/14159025/nsight-remote-debugger-settings