0

My current configuration : Visual Studio 2010, CUDA 5.5, Nsight version 3.1, Graphics card driver version 327.23 (latest)

The problem is that breakpoints in __global__ kernels are not hit when starting "CUDA Debugging"

Anyone with the same problem? It was possible for me to have kernel breakpoints on some older version of Nsight & CUDA, but I wouldn't want to downgrade to previous versions. Thanks.

4

2 回答 2

0

如果内核启动因任何原因失败,则很可能该内核中的任何选定断点都不会被命中。

始终建议在您的 CUDA 代码中进行适当的 CUDA 错误检查,尤其是当您遇到困难时。

于 2013-09-30T22:48:06.130 回答
0

在将我的显卡设置为 TCC 模式(“仅计算”)后,我遇到了断点未命中的问题,以防万一,你也这样做了。

于 2017-01-19T10:42:13.870 回答