diff options
| author | Tor Aamodt <[email protected]> | 2012-07-25 09:17:31 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:47:52 -0700 |
| commit | b24f65b3591516aed1e972c32ba18d104f867c50 (patch) | |
| tree | 3265e9e170bd8babe81b1743b13d295cd89cf7e8 /setup_environment | |
| parent | 18fda652a1c33b8b788d1f631645d516bb68a207 (diff) | |
Correct typos
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 13511]
Diffstat (limited to 'setup_environment')
| -rw-r--r-- | setup_environment | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/setup_environment b/setup_environment index b7de5aa..d28e154 100644 --- a/setup_environment +++ b/setup_environment @@ -68,7 +68,7 @@ fi CUDA_VERSION_STRING=`$CUDA_INSTALL_PATH/bin/nvcc --version | awk '/release/ {print $5;}' | sed 's/,//'`; CUDA_VERSION_NUMBER=`echo $CUDA_VERSION_STRING | sed 's/\./ /' | awk '{printf("%02u%02u", 10*int($1), 10*$2);}'` -if [ $CUDA_VERSION -gt 4000 -o $CUDA_VERSION -lt 2030 ]; then +if [ $CUDA_VERSION_NUMBER -gt 4000 -o $CUDA_VERSION_NUMBER -lt 2030 ]; then GPGPUSIM_VERSION_STRING=`cat version | awk '/Version/ {print $8}'` echo "ERROR ** GPGPU-Sim version $GPGPUSIM_VERSION_STRING not tested with CUDA version $CUDA_VERSION_STRING (please see README)"; return; @@ -78,7 +78,7 @@ fi # SSH to remote node to generate PTX for OpenCL kernels when running on # a node that does not have an NVIDIA driver installed. # The remote node should have GPGPU-Sim installed at the same path -if [ `uname` = "Darwin" ]; then +if [ `uname` == "Darwin" ]; then HOSTNAME_PREFIX=`hostname -s`; export HOSTNAME_DOMAIN=`hostname | sed s/$HOSTNAME_PREFIX\.//`; else |
