1

CUDA Toolkit 9.0、Windows 10、GTX 1060 和 NVS 315、385.54 驱动程序版本。

Nvidia Visual Profiler 总是无法进行分析,返回以下两条警告消息:

“警告:此版本的 nvprof 不支持底层设备,GPU 分析已跳过”

“警告:未分析任何 CUDA 应用程序,正在退出”

请注意,我的机器安装了两个 GPU。物理移除 NVS 315 可解决问题;可视化探查器工作。通过设备管理器禁用 NVS 315 也可以。我只想分析 GTX 1060,但我想在安装 NVS 315 的情况下这样做,而不是禁用。

使用 nvprof 并指定“--devices”选项有效:

C:\>nvprof --devices 0 bandwidthTest.exe

然而

C:\>nvprof --devices 1 bandwidthTest.exe
======== Warning: This version of nvprof doesn't support the underlying device, GPU profiling skipped

从 nvprof 导出结果,然后在 Visual Profiler 中打开工作:

C:\>nvprof --devices 0 --export-profile results.nvvp bandwidthTest.exe

但我很懒,不想在每次配置文件时都重复一百次。

因此,NVS 315 似乎有些不兼容的地方。此外,为 Visual Profiler (nvvp) 指定类似“--devices 0”的内容似乎是一种解决方案。要是我知道怎么做就好了。

4

1 回答 1

0

以下是一种解决方法。更好的解决方案是 Visual Profiler (nvvp) 的一个选项。

Nvidia 控制面板(版本 8.1.970.0),左侧面板“工作站”任务,“管理 GPU 利用率”

此处仅列出 NVS 315。在“使用模式”下,选择“专用于图形任务”。

我现在可以使用 Visual Profiler 进行分析。

于 2018-04-17T13:19:09.977 回答