【问题标题】:"Start Performance Analysis" button missing on Nsight + Visual StudioNsight + Visual Studio 上缺少“开始性能分析”按钮
【发布时间】:2021-07-14 11:20:41
【问题描述】:

我通常调试我的内核并使用“开始性能分析”按钮检查时间。 它显示当我使用 CUDA 10.2 时,RTX Titan V.

但是,自从我将 CUDA 版本升级到 11.3 后,现在显示该按钮。
这是我目前的视觉工作室选项。我现在正在使用 Visual Studio 2017、CUDA 11.3、RTX 3090。
你们知道为什么这些选项在 VS2017 上消失了吗?
以及如何在我的环境中恢复这些按钮?

// 编辑:我混淆了按钮的名称。对不起 //

【问题讨论】:

  • @RobertCrovella 哦。我在这个问题上弄错了。我很抱歉。我期待“开始性能分析”按钮。
  • 如发行说明here 中所述,该功能已被删除。 “自 NVIDIA Nsight Visual Studio Edition 2019.2 起已弃用的集成 CUDA 分析已从性能分析工具中删除,取而代之的是:适用于 Volta 和更高系列 GPU 的 Nsight Compute nvprof 和适用于 Pascal 和早期系列 GPU 的 Visual Profiler(不是 NVIDIA 的参与工具Nsight Integration)" 您应该切换到新的分析工具,例如nsight 计算/nsight 系统。

标签: cuda visual-studio-2017 nsight


【解决方案1】:

如发行说明here 中所述,该功能已被删除:

“集成 CUDA 分析,自 NVIDIA Nsight Visual Studio Edition 2019.2 起已弃用,已从性能分析工具中删除并替换为:适用于 Volta 和更高系列 GPU 的 Nsight Compute nvprof 和适用于 Pascal 和早期系列 GPU 的 Visual Profiler(不参与NVIDIA Nsight 集成工具)"

因此,您应该切换到the new profiling tools,例如nsight compute/nsight systems 用于较新的 GPU(粗略地说是 Volta 和前代),或者 the legacy profilers 之一,例如 nvprof 或视觉分析器,用于较旧的 GPU。

我想另一种选择是恢复到旧版本的 Nsight VSE 工具,具体取决于您的 CUDA 版本需求。

【讨论】:

    猜你喜欢
    • 2019-03-16
    • 1970-01-01
    • 2013-11-28
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多