diff options
| author | Tor Aamodt <[email protected]> | 2010-10-01 08:55:28 -0800 |
|---|---|---|
| committer | Tor Aamodt <[email protected]> | 2010-10-01 08:55:28 -0800 |
| commit | 11b308e7363e937966b035b4891db32b4eece3bf (patch) | |
| tree | 50ca4c9ad6f163ac4acb2bf505e64dfebed66947 /benchmarks/setup_config.sh | |
| parent | bb820c116764d7a1b8e071137d32b74e7f34dd2f (diff) | |
integrating recent changes from fermi-test into fermi
(i'll use "fermi" for more disruptive changes to the pipeline model such
as updating the MSHRs and getting rid of the warp tracker, ripping out DWF, etc...)
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 7805]
Diffstat (limited to 'benchmarks/setup_config.sh')
| -rwxr-xr-x | benchmarks/setup_config.sh | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/benchmarks/setup_config.sh b/benchmarks/setup_config.sh deleted file mode 100755 index 4da67c0..0000000 --- a/benchmarks/setup_config.sh +++ /dev/null @@ -1,53 +0,0 @@ -#!/bin/sh - -GPGPUSIM_CONFIG=$1 -if [ "x$GPGPUSIM_CONFIG" = "x" ]; then - echo "Usage: $0 <GPGPU-Sim Config Name | --cleanup>" - exit 0 -fi - -if [ "x$GPGPUSIM_ROOT" = "x" ]; then - GPGPUSIM_ROOT="$PWD/.." -fi - -BENCHMARKS=`ls -1 CUDA | sed 's/\(.\)/\.\/CUDA\/\1/'` - -if [ $1 = "--cleanup" ]; then - echo "Removing existing configs in the following directories:" - for BMK in $BENCHMARKS; do - if [ -f $BMK/gpgpusim.config ]; then - echo "$BMK" - OLD_ICNT=`awk '/-inter_config_file/ { print $2 }' $BMK/gpgpusim.config` - rm $BMK/gpgpusim.config $BMK/$OLD_ICNT - fi - done - exit 0 -fi - -GPU_CONFIG_FILE=$GPGPUSIM_ROOT/configs/$GPGPUSIM_CONFIG/gpgpusim.config -if [ -f $GPU_CONFIG_FILE ]; then - echo "Found GPGPU-Sim config file: $GPU_CONFIG_FILE" -else - echo "Unknown config: $GPGPUSIM_CONFIG" - exit 0 -fi - -ICNT_CONFIG=`awk '/-inter_config_file/ { print $2 }' $GPU_CONFIG_FILE` -ICNT_CONFIG=$GPGPUSIM_ROOT/configs/$GPGPUSIM_CONFIG/$ICNT_CONFIG -if [ -f $GPU_CONFIG_FILE ]; then - echo "Interconnection config file detected: $ICNT_CONFIG" -else - echo "Interconnection config file not found: $ICNT_CONFIG" - exit 0 -fi - -for BMK in $BENCHMARKS; do - if [ -f $BMK/gpgpusim.config ]; then - echo "Existing symbolic-links to config found in $BMK! Skipping... " - else - echo "Adding symbolic-links to configuration files for $BMK:" - ln -v -s $GPU_CONFIG_FILE $BMK - ln -v -s $ICNT_CONFIG $BMK - fi -done - |
