summaryrefslogtreecommitdiff
path: root/src/cuda-sim/ptx_loader.h
diff options
context:
space:
mode:
authorAndrew M. B. Boktor <[email protected]>2012-05-04 09:51:53 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:19:37 -0700
commit05f02e48963660d60120aca2f0198e0723e257d5 (patch)
treeca3a86afb038eb3d6bcaaee15a0fa587e19b881d /src/cuda-sim/ptx_loader.h
parent2893b0694e028d62e7b0849024b620a50a409de0 (diff)
Supporting the option for removing temporary files
. the option -gpgpu_ptx_save_converted_ptxplus allows keeping the ptxplus file . the option -gpgpu_keep allows keeping intermediate files used to communicate with other programs (e.g. cuobjdump) [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 12304]
Diffstat (limited to 'src/cuda-sim/ptx_loader.h')
-rw-r--r--src/cuda-sim/ptx_loader.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cuda-sim/ptx_loader.h b/src/cuda-sim/ptx_loader.h
index 9227d85..21974e6 100644
--- a/src/cuda-sim/ptx_loader.h
+++ b/src/cuda-sim/ptx_loader.h
@@ -33,5 +33,6 @@ extern bool g_override_embedded_ptx;
class symbol_table *gpgpu_ptx_sim_load_ptx_from_string( const char *p, unsigned source_num );
void gpgpu_ptxinfo_load_from_string( const char *p_for_info, unsigned source_num );
char* gpgpu_ptx_sim_convert_ptx_and_sass_to_ptxplus(const char *ptx_str, const char *sass_str, const char *elf_str);
+bool keep_intermediate_files();
#endif