From 01e9787999e8d74ac3e9a5e1988ef5275d0713ee Mon Sep 17 00:00:00 2001 From: Tim Rogers Date: Sat, 28 Jul 2012 20:17:58 -0800 Subject: 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] --- setup_environment | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'setup_environment') 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 -- cgit v1.3