请问,一个kernel运行时间不能超过六秒??单显卡

zhangdaimian 2010-01-25 09:38:29
我想把一幅图像独到显卡里,然后在里面计算,估计时间肯定会超过六秒??如果单显卡的话就会出问题吗??
应该怎么解决?
...全文
6461 52 打赏 收藏 转发到动态 举报
写回复
用AI写文章
52 条回复
切换为时间正序
请发表友善的回复…
发表回复
Joker_Lew 2012-10-09
  • 打赏
  • 举报
回复
http://msdn.microsoft.com/zh-cn/windows/hardware/gg487368

windows系统的限制,太坑爹了
xp200798 2012-08-30
  • 打赏
  • 举报
回复
没想到CUDA还有这个限制
pengkuny 2012-08-03
  • 打赏
  • 举报
回复
悲剧死了,我的windows 7 改了注册表也不管用,大约超过120ms就黑屏
godscu 2012-04-01
  • 打赏
  • 举报
回复
还没解决这个问题啊
mingkook 2011-07-13
  • 打赏
  • 举报
回复
我也很悲剧的遇到这个问题,加同步 改时间 都没解决,我是重复调用kernel函数,当调用次数较小时候能得到正确的结果,但是当次数较大,就要停止相应,甚至蓝屏死机,操作系统是win7
tntljc 2011-05-29
  • 打赏
  • 举报
回复
我的thinkpad 商用nv3100,修改注册表之后可以不限kernel运行时间!
  • 打赏
  • 举报
回复
[Quote=引用 44 楼 seavan811 的回复:]
我用Device Query Driver API 跑的时候,里面有一条:Run time limit on kernels: No 我觉得应该就是没有限制的意思吧
[/Quote]

别信这个。没用的。呵呵。
十年的小白 2010-08-24
  • 打赏
  • 举报
回复
我用Device Query Driver API 跑的时候,里面有一条:Run time limit on kernels: No 我觉得应该就是没有限制的意思吧
wpfcpp 2010-08-21
  • 打赏
  • 举报
回复
不接显示器,就没有时间限制了:
XP Specific Issues:

o 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.

引用于CUDA_Release_Notes_2.3.txt
taseaa 2010-08-17
  • 打赏
  • 举报
回复
[Quote=引用 41 楼 tengwl 的回复:]

LS的大侠是使用的单显卡?显卡的型号?我使用的时Geforce 9800GT,Debug下大约20s钟后自动退出。
在退出前的现象和你说的一样,桌面没有反应。
[/Quote]
9500GT,正在纠结要不要搞一块460.
taseaa 2010-08-16
  • 打赏
  • 举报
回复
[Quote=引用 39 楼 tengwl 的回复:]

引用 35 楼 taseaa 的回复:
注册表:
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\GraphicsDrivers

新建一个TdrLevel:REG_DWORD 键值为0

你想运行多久都没有问题!

注意哟,千万不要有死循环之类的。
因为,显卡进入计算后,桌面是没有反应的。


我试过了不好使.还是会有时间……
[/Quote]
这个是我实证过的,多长时间都没有问题,就是桌面没反应。
tengwl 2010-08-16
  • 打赏
  • 举报
回复
[Quote=引用 35 楼 taseaa 的回复:]
注册表:
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\GraphicsDrivers

新建一个TdrLevel:REG_DWORD 键值为0

你想运行多久都没有问题!

注意哟,千万不要有死循环之类的。
因为,显卡进入计算后,桌面是没有反应的。
[/Quote]

我试过了不好使.还是会有时间限制啊.
tengwl 2010-08-16
  • 打赏
  • 举报
回复
LS的大侠是使用的单显卡?显卡的型号?我使用的时Geforce 9800GT,Debug下大约20s钟后自动退出。
在退出前的现象和你说的一样,桌面没有反应。
xuleicsu 2010-07-07
  • 打赏
  • 举报
回复
linux下一样kernel的执行时间有限制

我在SUSE10.2 Tesla C1060就出现kernel执行时间限制的提示
  • 打赏
  • 举报
回复
mark
luckyboy101 2010-06-08
  • 打赏
  • 举报
回复
学习了.....
taseaa 2010-05-17
  • 打赏
  • 举报
回复
注册表:
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Control\GraphicsDrivers

新建一个TdrLevel:REG_DWORD 键值为0

你想运行多久都没有问题!

注意哟,千万不要有死循环之类的。
因为,显卡进入计算后,桌面是没有反应的。
full0house 2010-05-14
  • 打赏
  • 举报
回复
[Quote=引用 28 楼 hello_hi_hi 的回复:]
在Windows XP下,只要不讲桌面扩展到计算显卡上,那就没有5秒的限制!
这一点我试过了,我的系统是4块GF9800GX2,其中一块显卡连接两台显示器,
另外3块显卡不连接显示器,也不将桌面扩展到这些显卡上,这时这些显卡可以
连续运行20几秒(我的程序要求连续运行20秒以上),有接显示器的就不行。
[/Quote]

请问怎么设置呢?
OpenGPU2010 2010-03-10
  • 打赏
  • 举报
回复
引用 32 楼 taseaa 的回复:
Nv好小家子气,要用CUDa肯定也要买你的GPU啊!



赫赫~~~ 可以用模拟器~~

---------------------------------------------------------------------

开源图形处理器体系结构论坛(OpenGPU论坛)
http://www.opengpu.org/bbs/

OpenGPU Graphics Open Source community图形开源社区),聚焦领域(focus domain)包括:
* GPU Architecture(图形处理器体系结构).
* Graphics Algorithm(图形算法).
* GPGPU Programming (面向通用的图形处理器编程).
* Open Source Rendering Engine(开源渲染器).
* Open Source GPU Simulator/RTL Implement(开源GPU模拟器).
taseaa 2010-03-09
  • 打赏
  • 举报
回复
引用 31 楼 senosy 的回复:
引用 30 楼 taseaa 的回复:
引用 28 楼 hello_hi_hi 的回复:
在Windows XP下,只要不讲桌面扩展到计算显卡上,那就没有5秒的限制!
这一点我试过了,我的系统是4块GF9800GX2,其中一块显卡连接两台显示器,
另外3块显卡不连接显示器,也不将桌面扩展到这些显卡上,这时这些显卡可以
连续运行20几秒(我的程序要求连续运行20秒以上),有接显示器的就不行。
我的机一块集显(ATI HD 3300),另一块独显(G100)。

我发现,只有把显示器接到NV的卡上,那个独显才找得到。

请教一下,你说提方式是不是:在几块卡中,必须把显示器接在NV的卡上,才能把所有NV卡找到?
NV驱动的限制是如果你显示使用的是别家的显卡,那么就无法启动CUDA支持。


Nv好小家子气,要用CUDa肯定也要买你的GPU啊!
加载更多回复(31)

231

社区成员

发帖
与我相关
我的任务
社区描述
CUDA on Windows XP
社区管理员
  • CUDA on Windows XP社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧