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/hello
您的输出应该如下所示:
如果遇到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