diff options
| author | Tim Rogers <[email protected]> | 2012-07-28 20:17:58 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:48:53 -0700 |
| commit | 01e9787999e8d74ac3e9a5e1988ef5275d0713ee (patch) | |
| tree | b5a570dd3c160d80d36d2a0af01d2895659bec98 /setup_environment | |
| parent | 135135ef41f5628c146d35dd24eeac2c71efeae3 (diff) | |
Putting GPGPU-sim into nvcc version specific build and lib folders.
Also changing the cuobjdump_to_ptxplus build to into the build directory instead of inline with the src
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 13567]
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 94f313f..b59a4c1 100644 --- a/setup_environment +++ b/setup_environment @@ -23,11 +23,12 @@ fi # to run the debug build of GPGPU-Sim run: # source setup_environment debug +CUDA_VERSION=`nvcc --version | grep release | sed -re 's/.*release ([0-9]+\.[0-9]+).*/\1/'` if [ $# == '1' ] ; then - export GPGPUSIM_CONFIG=$1 + export GPGPUSIM_CONFIG=$CUDA_VERSION/$1 else - export GPGPUSIM_CONFIG=release + export GPGPUSIM_CONFIG=$CUDA_VERSION/release fi |
