Skip to content

Commit 47ff869

Browse files
authored
Update setup_environment
Sims should work with latest CUDA
1 parent 0e39753 commit 47ff869

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

setup_environment

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ CC_VERSION=$(gcc --version | head -1 | awk '{for(i=1;i<=NF;i++){ if(match($i,/^[
4848

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);}'`
51-
if [ $CUDA_VERSION_NUMBER -gt 11100 -o $CUDA_VERSION_NUMBER -lt 2030 ]; then
51+
if [ $CUDA_VERSION_NUMBER -gt 12800 -o $CUDA_VERSION_NUMBER -lt 2030 ]; then
5252
echo "ERROR ** GPGPU-Sim version $GPGPUSIM_VERSION_STRING not tested with CUDA version $CUDA_VERSION_STRING (please see README)";
5353
echo $CUDA_VERSION_NUMBER
5454
return 1;

0 commit comments

Comments
 (0)