diff options
| author | Tim Rogers <[email protected]> | 2017-05-09 14:09:18 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-05-09 14:09:18 -0400 |
| commit | 0b18b586e78ff474e0b1db58c4f605b2b13b3727 (patch) | |
| tree | 1664ae81a1c4dde1fdd56df043fe21f0c02e79f0 /setup_environment | |
| parent | 96d528311239d6ff82d7bec807a2509b344c9a60 (diff) | |
| parent | 7fe0d9214ba42be543862d8e40849d38f9b818bb (diff) | |
Merge pull request #32 from ElTantawy/dev
support for CUDA 8.0 PTX
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 2684514..854a335 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 7500 -o $CUDA_VERSION_NUMBER -lt 2030 ]; then +if [ $CUDA_VERSION_NUMBER -gt 8000 -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 |
