diff options
| author | speverel <[email protected]> | 2017-11-04 10:42:32 -0700 |
|---|---|---|
| committer | speverel <[email protected]> | 2017-11-04 10:42:32 -0700 |
| commit | 8735428754d1bb944400922982f41f867f2f9b9c (patch) | |
| tree | c23055be436f26d1871823e690cd6b978345be6d /setup_environment | |
| parent | 0751c1489add70d7494521c7f9d65f462e4391c6 (diff) | |
Added basic support for CUDA 9.0.
Diffstat (limited to 'setup_environment')
| -rw-r--r-- | setup_environment | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/setup_environment b/setup_environment index 854a335..0b0a6ff 100644 --- a/setup_environment +++ b/setup_environment @@ -43,7 +43,7 @@ CC_VERSION=`gcc --version | head -1 | awk '{for(i=1;i<=NF;i++){ if(match($i,/^[0 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_NUMBER -gt 8000 -o $CUDA_VERSION_NUMBER -lt 2030 ]; then +if [ $CUDA_VERSION_NUMBER -gt 9000 -o $CUDA_VERSION_NUMBER -lt 2030 ]; then echo "ERROR ** GPGPU-Sim version $GPGPUSIM_VERSION_STRING not tested with CUDA version $CUDA_VERSION_STRING (please see README)"; return elif [ $CUDA_VERSION_NUMBER -gt 4020 ]; then |
