如何在gem5中使用AMD GCN3-GPU模型?

问题描述

我尝试在 gem5-doc of GCN3 website

上运行命令

根据文档网站,我成功构建了 GCN3 docker 镜像、文件“build/GCN3_X86/gem5.opt”和相应的 gem5-resources。

在GCN3 docker镜像的容器中,我运行如下命令:

root@2aaede27f4e1:/gem5# build/GCN3_X86/gem5.opt configs/example/apu_se.py -n2 --benchmark-root=/gem5-resources/src/square/bin/ -c square.o

但它向我展示了错误

fatal: system.cpu2.CUs0 does not have any port named gmTokenPort

问题在官方示例文件中:./gem5/configs/example/apu_se.py

对应的代码如下:

    system.cpu[shader_idx].CUs[i].gmTokenPort = \
            system.ruby._cpu_ports[gpu_port_idx].gmTokenPort

我不知道如何解决这个问题。 非常感谢您的帮助!

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)