can't enter into __global__ function using cuda

后端 未结 1 1484
闹比i
闹比i 2021-01-23 15:42

I have written a code on Nsight that compiles and can be executed but the first launch can\'t be completed.

The strange thing is that when I run it in debug mode, it wor

相关标签:
1条回答
  • 2021-01-23 16:13

    linux has a watchdog mechanism. If your kernel runs for a long time (you say it is slow in debug mode) you can hit the linux watchdog, and receive the "launch timed out and was terminated" error.

    In this case you have several things you might try. The options are covered here.

    0 讨论(0)
提交回复
热议问题