gem5-gpu教程01 部署

Gem5-gpu合并了两个流行的模拟器:Gem5和gpgpgpu-sim
模拟CPU、GPU以及它们之间的交互建模一个灵活的内存系统,支持异构处理器和一致性通过GPU驱动程序仿真支持全系统仿真
建议RAM大小:4G
建议硬盘大小:80G
平台:Ubuntu 14.04LTS 64位

代码如果下载不了就用国内的
git clone https://gitee.com/unname9527/gem5-gpu.git

安装好gem5

具体可以看我gem5的专栏
首先,您需要在终端中键入命令来安装依赖项

sudo apt-get install mercurial
sudo apt-get install build-essential
sudo apt-get install scons
sudo apt-get install python-dev
sudo apt-get install swig
sudo apt-get install libprotobuf-dev python-protobuf protobuf-compiler libgoogle-perftools-dev
sudo apt-get install swig gcc m4 python python-dev libgoogle-perftools-dev mercurial scons g++ build-essential

现在,您需要克隆gem5存储库并将其构建到您的系统上。

hg clone http://repo.gem5.org/gem5
cd gem5/
scons build/ARM/gem5.opt -j2
build/ARM/gem5.opt configs/example/se.py -c tests/test-progs/hello/bin/arm/linux/hel­lo

您的输出应该如下所示:
在这里插入图片描述

如果遇到protobuf错误,请尝试更改gcc版本。

problem2 scons

siat@ubuntu:~/gem5-gpu/gem5-gpu/gem5$ scons build/ARM/gem5.opt -j2
scons: Reading SConscript files …
Error Don’t know

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值