From 1f77fded4b9c579e6acbb31715454472a518c693 Mon Sep 17 00:00:00 2001 From: "Andrew M. B. Boktor" Date: Wed, 2 May 2012 23:29:05 -0800 Subject: Ensuring the correct ptxas is used [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 12269] --- src/cuda-sim/ptx_loader.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/cuda-sim/ptx_loader.cc b/src/cuda-sim/ptx_loader.cc index 2879251..cbfa9f4 100644 --- a/src/cuda-sim/ptx_loader.cc +++ b/src/cuda-sim/ptx_loader.cc @@ -214,7 +214,7 @@ void gpgpu_ptxinfo_load_from_string( const char *p_for_info, unsigned source_num snprintf(extra_flags,1024,"--gpu-name=sm_20"); #endif - snprintf(commandline,1024,"ptxas %s -v %s --output-file /dev/null 2> %s", + snprintf(commandline,1024,"$CUDA_INSTALL_PATH/bin/ptxas %s -v %s --output-file /dev/null 2> %s", extra_flags, fname2, tempfile_ptxinfo); printf("GPGPU-Sim PTX: generating ptxinfo using \"%s\"\n", commandline); result = system(commandline); -- cgit v1.3