diff options
| author | Tim Rogers <[email protected]> | 2025-02-11 16:44:42 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-02-11 16:44:42 -0500 |
| commit | 47ff86975bd8062e76c2a78ba8761f5bad437bf4 (patch) | |
| tree | f264a28a48232a6f539df4e883594cdfd468e726 /setup_environment | |
| parent | 0e39753a623978eb37bf044b21fde1a5909bff03 (diff) | |
Update setup_environment
Sims should work with latest CUDA
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 2fac1b9..e2f32da 100644 --- a/setup_environment +++ b/setup_environment @@ -48,7 +48,7 @@ CC_VERSION=$(gcc --version | head -1 | awk '{for(i=1;i<=NF;i++){ if(match($i,/^[ CUDA_VERSION_STRING=`$CUDA_INSTALL_PATH/bin/nvcc --version | awk '/release/ {print $5;}' | sed 's/,//'`; export CUDA_VERSION_NUMBER=`echo $CUDA_VERSION_STRING | sed 's/\./ /' | awk '{printf("%02u%02u", 10*int($1), 10*$2);}'` -if [ $CUDA_VERSION_NUMBER -gt 11100 -o $CUDA_VERSION_NUMBER -lt 2030 ]; then +if [ $CUDA_VERSION_NUMBER -gt 12800 -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)"; echo $CUDA_VERSION_NUMBER return 1; |
