diff options
| author | tgrogers <[email protected]> | 2018-06-30 13:53:16 -0400 |
|---|---|---|
| committer | tgrogers <[email protected]> | 2018-06-30 13:53:16 -0400 |
| commit | c37cd1e3fa9a3e4392ffc5453e9fd1696fd38396 (patch) | |
| tree | ac661bbb7d5af7fc9e6a21c18e1c1eec8cf7b03f /setup_environment | |
| parent | 3551bf0a1077cfe1418efb0771edc19410b8ebdf (diff) | |
Adding in a check to not blow away the PTXAS variable if you already had it set
Diffstat (limited to 'setup_environment')
| -rw-r--r-- | setup_environment | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/setup_environment b/setup_environment index 55f3ea6..2dafba5 100644 --- a/setup_environment +++ b/setup_environment @@ -137,7 +137,9 @@ else echo "configured without a power model."; fi -export PTXAS_CUDA_INSTALL_PATH=$CUDA_INSTALL_PATH +if [ ! -z "$PTXAS_CUDA_INSTALL_PATH" ]; then + export PTXAS_CUDA_INSTALL_PATH=$CUDA_INSTALL_PATH; +fi echo ""; echo "----------------------------------------------------------------------------"; echo "INFO - If you only care about PTX execution, ignore this message. GPGPU-Sim supports PTX execution in modern CUDA." |
