diff options
| author | Tim Rogers <[email protected]> | 2025-02-11 16:49:41 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-02-11 16:49:41 -0500 |
| commit | aa505b8436b248f0438fa5f8ebf68070612f5ff2 (patch) | |
| tree | f3f6808e8920108e83ba093bc93ab062eb8dc644 /setup_environment | |
| parent | 47ff86975bd8062e76c2a78ba8761f5bad437bf4 (diff) | |
Update setup_environment
Throwing an error on updating CUDA is a bit much.
Let's warn them
Diffstat (limited to 'setup_environment')
| -rw-r--r-- | setup_environment | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/setup_environment b/setup_environment index e2f32da..5974ad0 100644 --- a/setup_environment +++ b/setup_environment @@ -49,9 +49,8 @@ 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 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 "WARNING ** GPGPU-Sim version $GPGPUSIM_VERSION_STRING not tested with CUDA version $CUDA_VERSION_STRING (please see README)"; echo $CUDA_VERSION_NUMBER - return 1; fi if [ $CUDA_VERSION_NUMBER -ge 6000 ]; then |
