【问题标题】:CUDA : How to detect shared memory bank conflict on device with compute capabiliy >= 7.2?CUDA:如何在计算能力 >= 7.2 的设备上检测共享内存库冲突?
【发布时间】:2019-08-13 07:15:41
【问题描述】:

在计算能力

nvprof --events shared_st_bank_conflict

但是当我使用 CUDA10 在 RTX2080ti 上运行它时,它会返回

Warning: Skipping profiling on device 0 since profiling is not supported on devices with compute capability greater than 7.2

那么如何检测此设备上是否存在共享内存库冲突?

我已经安装了 Nvidia Nsight Systems 和 Nsight Compute ,找不到这样的分析报告...

谢谢

【问题讨论】:

  • 你应该使用 nsight 计算

标签: cuda profiling gpu-shared-memory nsight-compute


【解决方案1】:

这似乎是一个问题,并在 NVIDIA 论坛的this 帖子中得到解决。显然,应该使用其中一种 Nsight 工具(CLI 或 UI)来支持它。

【讨论】:

    【解决方案2】:

    你可以使用--metrics:

    要么

    nv-nsight-cu-cli --metrics l1tex__data_bank_conflicts_pipe_lsu_mem_shared_op_ld.sum
    

    从共享内存读取(加载)时发生冲突,或

    nv-nsight-cu-cli --metrics l1tex__data_bank_conflicts_pipe_lsu_mem_shared_op_st.sum
    

    写入(存储)到共享内存时发生冲突。

    【讨论】:

      猜你喜欢
      • 2015-08-12
      • 1970-01-01
      • 2015-04-07
      • 1970-01-01
      • 1970-01-01
      • 2011-05-22
      • 2021-01-19
      • 2021-11-07
      • 2012-06-26
      相关资源
      最近更新 更多