diff options
| author | Tim Rogers <[email protected]> | 2019-06-11 15:31:42 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-06-11 15:31:42 -0400 |
| commit | 8ab89aef18437a4211e7af5bd25a6c307d9a6b9c (patch) | |
| tree | 388bc22ecdbb387be993e40db3efb5c6892263ba /setup_environment | |
| parent | 6eb6f30ecd59782ba57a7bba7496526e0eeb59eb (diff) | |
| parent | 63a879e657bd6cb4f74d4ea3b2f5ee96c6b6646f (diff) | |
Merge pull request #15 from tgrogers/dev
10.1 support integration
Diffstat (limited to 'setup_environment')
| -rw-r--r-- | setup_environment | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/setup_environment b/setup_environment index 17891ce..58f4713 100644 --- a/setup_environment +++ b/setup_environment @@ -148,19 +148,15 @@ fi echo ""; echo "----------------------------------------------------------------------------"; echo "INFO - If you only care about PTX execution, ignore this message. GPGPU-Sim supports PTX execution in modern CUDA." -if [ $CUDA_VERSION_NUMBER -gt 4200 ]; then - echo "If you want to run PTXPLUS (sm_1x SASS) with a modern card configuration, the apps and simulator must be compiled with CUDA 4.2." - echo "You can still run a PASCAL configuration when compiling with 4.2 by setting the \$PTXAS_CUDA_INSTALL_PATH directory environment variable." -else - echo "If you want to run PTXPLUS (sm_1x SASS) with a modern card configuration - set the envronment variable" - echo "\$PTXAS_CUDA_INSTALL_PATH to point a CUDA version compabible with your card configurations (i.e. 8+ for PASCAL, 9+ for VOLTA etc..)" - echo "For example: \"export \$PTXAS_CUDA_INSTALL_PATH=/usr/local/cuda-9.1\"" -fi +echo "If you want to run PTXPLUS (sm_1x SASS) with a modern card configuration - set the envronment variable" +echo "\$PTXAS_CUDA_INSTALL_PATH to point a CUDA version compabible with your card configurations (i.e. 8+ for PASCAL, 9+ for VOLTA etc..)" +echo "For example: \"export \$PTXAS_CUDA_INSTALL_PATH=/usr/local/cuda-9.1\"" +echo "" echo "The following text describes why:"; echo "If you are using PTXPLUS, only sm_1x is supported and it requires that the app and simulator binaries are compiled in CUDA 4.2 or less."; echo "The simulator requires it since CUDA headers desribe struct sizes in the exec which change from gen to gen."; echo "The apps require 4.2 because new versions of CUDA tools have dropped parsing support for generating sm_1x"; -echo "When running using modern config (i.e. pascal) and PTXPLUS with CUDA 4.2, the \$PTXAS_CUDA_INSTALL_PATH env variable is required to get proper register usage" +echo "When running using modern config (i.e. volta) and PTXPLUS with CUDA 4.2, the \$PTXAS_CUDA_INSTALL_PATH env variable is required to get proper register usage" echo "(and hence occupancy) using a version of CUDA that knows the register usage on the real card." echo ""; echo "----------------------------------------------------------------------------"; |
