nvidia GPU上的内核真的有超时吗? [英] Is there really a timeout for kernels on nvidia gpus?

查看:247
本文介绍了nvidia GPU上的内核真的有超时吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

寻找有关为什么我的内核产生奇怪错误消息或仅显示"0"的答案,我发现了这个

searching for answers for why my kernels produce strange error messages or "0" only results I found this answer on SO that mentions that there is a timeout of 5s for kernels running on nvidia gpus? I googled for the timout but I could not find confirming sources or more information.

您对此有什么了解?

timout是否会对长时间运行的内核造成奇怪的行为?

Could the timout cause strange behaviour for kernels with a long runtime?

谢谢!

推荐答案

进一步的谷歌搜索在

Further googling brought up this in the CUDA_Toolkit_Release_Notes_Linux.txt (Known Issus):

#单个GPU程序的启动被限制在带有显示器的GPU上的运行时间少于5秒.超过此时间限制通常会导致通过CUDA驱动程序或CUDA运行时报告启动失败.未连接显示器的GPU不受5秒运行时间限制.因此,建议在未连接显示器且未扩展Windows桌面的GPU上运行CUDA.在这种情况下,系统必须至少包含一个用作主要图形适配器的NVIDIA GPU.

# Individual GPU program launches are limited to a run time of less than 5 seconds on a GPU with a display attached. Exceeding this time limit usually causes a launch failure reported through the CUDA driver or the CUDA runtime. GPUs without a display attached are not subject to the 5 second runtime restriction. For this reason it is recommended that CUDA be run on a GPU that is NOT attached to a display and does not have the Windows desktop extended onto it. In this case, the system must contain at least one NVIDIA GPU that serves as the primary graphics adapter.

[更新] .此功能的正式名称似乎是看门狗".

[update] It seems that the official name for this feature is 'watchdog'.

这篇关于nvidia GPU上的内核真的有超时吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆