2
运行时
太原平台无法使用AMD GPU Memory Violation Reporting功能
2023-06-10 00:19:42
68

使用hipgdb调试HIP内存问题时出现:
Warning: precise memory violation signal reporting is not enabled, reported
location may not be accurate. See "show hydcu precise-memory".
如果在运行程序之前使用"set amdgpu precise-memory on"启用AMD GPU Memory Violation Reporting,在运行程序时会报错"warning: HYDCU precise memory access reporting could not be enabled."

全部评论(1)
只看楼主
网
网友5zGOfQ
1楼

您好,在hipgdb使用手册第五章的注意事项有说明相关问题,“当前hipgdb不支持precise-memory mode。如果出现内存访问违例,停留的PC可能不精确。”

实际上,在一般情况下,hipgdb对于PC、内存违规的地址是准确的,基本能够满足需求。对于一些特殊情况来说,需要启用精确内存模式,但当前相关功能暂不支持。

当前,您可以完全忽略提示“Warning: precise memory violation signal reporting is not enabled, reported

location may not be accurate. See "show hydcu precise-memory".”,并不去主动使用“set amdgpu precise-memory on”命令。

在这些条件下,您可以正常使用大多数的内存调试操作。

若在采取当前方法后,您仍有一些内存调试上的问题,请您继续反馈问题。

感谢您的反馈,不恰当的提示给操作上带来了困惑,相关提示会在今后版本中关闭或支持。
2023/6/12
没有更多内容了
--
楼主
Level.1
0 帖子
楼主热帖
暂无数据