call to cuStreamSynchronize returned error 702: Launch timeo

The same as before,
when I tried one thread, the program gave correct answer.

Yet when I tried about 5 threads, the program gave info as the title.

Any way to solve to this ?

Are you running on Windows or is your card attached to a monitor? This typically means that your kernel was killed by the OS or driver. It’s to prevent long running jobs from freezing your monitor.

If you have GeoForce card on Windows, there’s not much you can do. See this post for more info: Watchdog timer kills CUDA code

On Linux, make sure you don’t have a monitor attached to the device and X isn’t configured to use the card.

  • Mat

I am running on Linux without a monitor attached. As far as I know, the X would not use the card.

I am running on Linux without a monitor attached. As far as I know, the X would not use the card.

Then I’m not sure since this is the typically reason for timeouts. I’d need a reproducing example to determine the problem.

Thanks,
Mat

Is there a timeout limitation that would lead to this error ?

For a compute only device, not one that I’m aware of. I would double check to see if X is configured to use this device.