====== Differences ====== This shows you the differences between two versions of the page.
|
start [2014/02/10 11:01] jthestness [Clone GPGPU-Sim and GPGPU-Sim patches (2 separate options)] |
start [2015/03/23 10:35] (current) powerjg [Running gem5-gpu] |
||
|---|---|---|---|
| Line 71: | Line 71: | ||
| ==== Build ==== | ==== Build ==== | ||
| + | |||
| + | Below are quick start commands to build and run gem5-gpu with the x86 CPU ISA. For building and running gem5-gpu with the ARM32 CPU ISA, see instructions here: [[arm32_support|ARM32 Support]]. | ||
| + | |||
| + | <code> | ||
| + | cd gem5 | ||
| + | scons build/X86_VI_hammer_GPU/gem5.opt --default=X86 EXTRAS=../gem5-gpu/src:../gpgpu-sim/ PROTOCOL=VI_hammer GPGPU_SIM=True | ||
| + | </code> | ||
| + | |||
| + | You can also build using the pre-defined build options files (found in gem5-gpu/build_opts) as follows: | ||
| + | |||
| <code> | <code> | ||
| cd gem5 | cd gem5 | ||
| - | scons build/VI_hammer/gem5.opt --default=X86 EXTRAS=../gem5-gpu/src:../gpgpu-sim/ PROTOCOL=VI_hammer GPGPU_SIM=True | + | scons build/X86_VI_hammer_GPU/gem5.opt --default=../../../gem5-gpu/build_opts/X86_VI_hammer_GPU EXTRAS=../gem5-gpu/src:../gpgpu-sim/ |
| </code> | </code> | ||
| Line 81: | Line 91: | ||
| <code> | <code> | ||
| - | build/VI_hammer/gem5.opt ../gem5-gpu/configs/se_fusion.py -c /path/to/your/benchmarks/rodinia/backprop/gem5_fusion_backprop -o 16 | + | build/X86_VI_hammer_GPU/gem5.opt ../gem5-gpu/configs/se_fusion.py -c /path/to/your/benchmarks/rodinia/backprop/gem5_fusion_backprop -o 16 |
| </code> | </code> | ||
| Line 87: | Line 97: | ||
| <code> | <code> | ||
| - | build/VI_hammer/gem5.opt ../gem5-gpu/configs/se_fusion.py --help | + | build/X86_VI_hammer_GPU/gem5.opt ../gem5-gpu/configs/se_fusion.py --help |
| </code> | </code> | ||
| Line 95: | Line 105: | ||
| <code> | <code> | ||
| - | build/VI_hammer/gem5.opt ../gem5-gpu/configs/fs_fusion.py | + | build/X86_VI_hammer_GPU/gem5.opt ../gem5-gpu/configs/fs_fusion.py |
| </code> | </code> | ||