且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

CUDA-nvidia驱动程序在运行时崩溃

更新时间:2021-10-05 03:51:33

根据您的描述,您正在Windows Vista或Windows 7上运行.正如您所猜测的那样,Windows操作系统具有看门狗计时器.看门狗计时器仅适用于已连接显示器的GPU.

Based on your description, you are running on Windows Vista or Windows 7. Windows operating systems have a watchdog timer, as you guessed. The watchdog timer only applies to GPUs with displays attached.

最简单的解决方案是运行2个或更多GPU,并在不连接显示器的GPU上运行CUDA.

The easiest solution is to run 2 or more GPUs, and run CUDA on GPU(s) without a display attached.

您可以禁用看门狗定时器.有关更多详细信息,请参见此问题.但是,您应该谨慎行事-记住,当主显示GPU上的内核运行时间很长时,您将使计算机完全无响应(至少您看不到它在做什么),直到内核完成为止.

You can disable the watchdog timer. See this question for more details. However you should do so with care—remember that when you have a long running kernel on your primary display GPU you will make your computer completely unresponsive (at least you won't be able to see what it is doing) until the kernel completes.