diff options
| author | Tor Aamodt <[email protected]> | 2019-11-12 20:07:31 -0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-11-12 20:07:31 -0800 |
| commit | 6a97d1e857c37ef4b58a9a0d5c18960967e9d665 (patch) | |
| tree | 6afbf62e80a0f0181a2fe126b467c795a03174d3 /setup_environment | |
| parent | d10ff4bf1fab969cabb69febb895ead4b377a778 (diff) | |
| parent | 57d2df04da439b1055590f10cff5f5f50791b9d9 (diff) | |
Merge pull request #156 from bftf/dev
Enabled CUDA 10. Added implementations for __cudaPushCallConfiguratio…
Diffstat (limited to 'setup_environment')
| -rw-r--r-- | setup_environment | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/setup_environment b/setup_environment index b420584..154dea0 100644 --- a/setup_environment +++ b/setup_environment @@ -51,9 +51,10 @@ 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/,//'`; export CUDA_VERSION_NUMBER=`echo $CUDA_VERSION_STRING | sed 's/\./ /' | awk '{printf("%02u%02u", 10*int($1), 10*$2);}'` -if [ $CUDA_VERSION_NUMBER -gt 9100 -o $CUDA_VERSION_NUMBER -lt 2030 ]; then +if [ $CUDA_VERSION_NUMBER -gt 10000 -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 + echo $CUDA_VERSION_NUMBER + return fi if [ $CUDA_VERSION_NUMBER -ge 6000 ]; then |
