User Tools

Site Tools


benchmarks

====== Differences ====== This shows you the differences between two versions of the page.

Link to this comparison view

benchmarks [2014/04/15 11:38]
jthestness [Compiling Benchmarks] Add details for ARM32
benchmarks [2015/03/23 10:38] (current)
powerjg [Compiling Benchmarks]
Line 26: Line 26:
 gem5-gpu works with cuda 3.1 and 3.2 (the recommended gcc version is 4.4). Please install this on your system before proceeding further. You will also need to install the CUDA SDK, which includes the cutil library that is linked by many of the benchmarks. gem5-gpu works with cuda 3.1 and 3.2 (the recommended gcc version is 4.4). Please install this on your system before proceeding further. You will also need to install the CUDA SDK, which includes the cutil library that is linked by many of the benchmarks.
  
-If you would like to use gem5-gpu ARM32 CPU ISA support, you will also need to obtain a cross-compiler for ARM. We have tested using arm-linux-gnueabihf-*-4.6 (gcc, g++, ld, ar), which can be obtained on Debian-based systems using:+If you would like to use gem5-gpu ARM32 CPU ISA support, you will also need to obtain a cross-compiler for ARM. We have tested using arm-linux-gnueabihf-*-4.6 and arm-linux-gnueabihf-*-4.8 (gcc, g++, ld, ar), which can be obtained on Debian-based systems using:
  
 <code> <code>
-[gem5-gpu/benchmarks] apt-get install gcc-4.6-arm-linux-gnueabihf-base cpp-4.6-arm-linux-gnueabihf g++-4.6-arm-linux-gnueabihf binutils-arm-linux-gnueabihf+[gem5-gpu/benchmarks] apt-get install gcc-4.8-arm-linux-gnueabihf-base cpp-4.8-arm-linux-gnueabihf g++-4.8-arm-linux-gnueabihf binutils-arm-linux-gnueabihf
 </code> </code>
  
Line 39: Line 39:
  
 <code> <code>
-export CUDAHOME=/path/to/your/cuda/install/cuda +export CUDAHOME=<path to your cuda install>/cuda 
-export PATH=$PATH:/usr/local/cuda/bin/ +export PATH=$PATH:<path to your cuda install>/bin/ 
-export NVIDIA_CUDA_SDK_LOCATION=/path/to/your/sdk/installation/C+export NVIDIA_CUDA_SDK_LOCATION=<path to your sdk installation>/C
 </code> </code>
  
Line 79: Line 79:
 * Note: The "gem5-fusion" nomenclature is legacy and we intend to update it to "gem5-gpu". * Note: The "gem5-fusion" nomenclature is legacy and we intend to update it to "gem5-gpu".
  
-== Example of Compiling a Benchmark ==+== Example of Running a Benchmark ==
 Once you've [[start|built]] gem5-gpu, you can confirm that your benchmark runs. For example: Once you've [[start|built]] gem5-gpu, you can confirm that your benchmark runs. For example:
 <code> <code>
-build/VI_hammer/gem5.opt ../gem5-gpu/configs/se_fusion.py -c ../benchmarks/rodinia/nw/gem5_fusion_backprop -o "16"+build/VI_hammer/gem5.opt ../gem5-gpu/configs/se_fusion.py -c ../benchmarks/rodinia/backprop/gem5_fusion_backprop -o "16"
 </code> </code>
  
  
benchmarks.1397579938.txt.gz · Last modified: 2014/04/15 11:38 by jthestness