diff options
| author | Andrew M. B. Boktor <[email protected]> | 2012-05-02 23:29:05 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:19:37 -0700 |
| commit | 1f77fded4b9c579e6acbb31715454472a518c693 (patch) | |
| tree | 26037c5d63356cc1852478343cafb3e593a9c935 /src/cuda-sim | |
| parent | 710a0b7c3ac97324f0306f4df410c20967319508 (diff) | |
Ensuring the correct ptxas is used
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 12269]
Diffstat (limited to 'src/cuda-sim')
| -rw-r--r-- | src/cuda-sim/ptx_loader.cc | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
