Skip to content

Commit aa505b8

Browse files
authored
Update setup_environment
Throwing an error on updating CUDA is a bit much. Let's warn them
1 parent 47ff869 commit aa505b8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

setup_environment

+1-2
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,8 @@ CC_VERSION=$(gcc --version | head -1 | awk '{for(i=1;i<=NF;i++){ if(match($i,/^[
4949
CUDA_VERSION_STRING=`$CUDA_INSTALL_PATH/bin/nvcc --version | awk '/release/ {print $5;}' | sed 's/,//'`;
5050
export CUDA_VERSION_NUMBER=`echo $CUDA_VERSION_STRING | sed 's/\./ /' | awk '{printf("%02u%02u", 10*int($1), 10*$2);}'`
5151
if [ $CUDA_VERSION_NUMBER -gt 12800 -o $CUDA_VERSION_NUMBER -lt 2030 ]; then
52-
echo "ERROR ** GPGPU-Sim version $GPGPUSIM_VERSION_STRING not tested with CUDA version $CUDA_VERSION_STRING (please see README)";
52+
echo "WARNING ** GPGPU-Sim version $GPGPUSIM_VERSION_STRING not tested with CUDA version $CUDA_VERSION_STRING (please see README)";
5353
echo $CUDA_VERSION_NUMBER
54-
return 1;
5554
fi
5655

5756
if [ $CUDA_VERSION_NUMBER -ge 6000 ]; then

0 commit comments

Comments
 (0)