使用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."

暂无数据
您好,在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”命令。
在这些条件下,您可以正常使用大多数的内存调试操作。
若在采取当前方法后,您仍有一些内存调试上的问题,请您继续反馈问题。
感谢您的反馈,不恰当的提示给操作上带来了困惑,相关提示会在今后版本中关闭或支持。