CUDA Visual Profiler'Interactive'X配置选项? [英] CUDA Visual Profiler 'Interactive' X config option?

查看:178
本文介绍了CUDA Visual Profiler'Interactive'X配置选项?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述




选择的计数器(S)GLD说明8位:

在Ubuntu 11.04启动在computeprof一个应用程序时,我得到以下警告,GLD指令16位,GLD指令32位,GLD指令64位,GLD说明128位,消费税指令的8bit,消费税指令16位,消费税指令32位,消费税指令64位 gst指令128位可能导致GPU内核运行时间超过驱动程序的看门狗超时限制。在这种情况下,驱动程序将终止GPU内核,导致应用程序错误,并且性能分析数据将不可用。


我在哪里设置此配置选项?

我也不可貌相在Ubuntu的应用程序时得到任何计数64B和128b的加载和存储,而我看到他们,当我运行分析器在OS X上的是'Interactive'配置选项也会影响这个?注意,内核看起来不是超时;



这是Ubuntu上的CUDA 4.0.17和OS X上的4.0.19。

解决方案

此选项可以在 /etc/X11/xorg.conf 中设置。只需添加 OptionInteractive0到您的GPU的设备部分。以下是我的设备部分:

 部分设备
标识符Device0
驱动程序NVIDIA
VENDORNAMENVIDIA公司
BoardName的GeForce GTX 460
选项互动,0
EndSection

我在Ubuntu上运行相同版本的CUDA,但是我使用OpenCL。使用这些指令之一进行分析会导致高CPU使用率,并且永远不会结束(我必须终止该进程) - 即使禁用交互模式。



此外,请务必验证GPU的计算能力,并检查所请求的计数是否受支持:视觉Profiler用户指南。虽然似乎这不是你的问题的原因,因为它在OS X中工作。


I get the following warning when launching an application in computeprof on Ubuntu 11.04:

The selected counter(s) "gld instructions 8bit", "gld instructions 16bit", "gld instructions 32bit", "gld instructions 64bit", "gld instructions 128bit", "gst instructions 8bit", "gst instructions 16bit", "gst instructions 32bit", "gst instructions 64bit", "gst instructions 128bit" can cause GPU kernels to run longer than the driver's watchdog timeout limit. In this case the driver will terminate the GPU kernel resulting in an application error and the profiling data will not be available. Setting the X Config option 'Interactive' to false is recommended when these counters are selected.

Where do I set this config option?

I am also not getting any counts for 64b and 128b loads and stores when profiling an app on Ubuntu, whereas I see them when I run the profiler on OS X. Is the 'Interactive' config option also affecting this? Note that the kernels do not appear to be timing out; they complete well before the default timeout of 30 seconds.

This is CUDA 4.0.17 on Ubuntu and 4.0.19 on OS X.

解决方案

this option can be set in /etc/X11/xorg.conf. Just add Option "Interactive" "0" to the device section of your GPU. Here is what my device section looks like:

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    VendorName     "NVIDIA Corporation"
    BoardName      "GeForce GTX 460"
    Option         "Interactive" "0"
EndSection

I run the same version of CUDA in ubuntu but I'm using OpenCL. Profiling with one of these instructions causes high CPU usage and never finishes (I have to kill the process) - even when interactive mode is disabled. Anyways, you can give it a try.

Also make sure to verify the compute capability of your GPU and check if the requested count is supported : Visual Profiler User Guide. Although it seems that this is not the cause of you problem since it's working in OS X.

这篇关于CUDA Visual Profiler'Interactive'X配置选项?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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