summaryrefslogtreecommitdiff
path: root/src/cuda-sim/ptx_loader.h
diff options
context:
space:
mode:
authorJonathan <[email protected]>2018-06-01 13:04:30 -0700
committerJonathan <[email protected]>2018-06-01 13:04:30 -0700
commit2278609c8e279e7dfba49211256e818e3152318b (patch)
tree1403c896f5500af7cffac8a9d138ab0329703b66 /src/cuda-sim/ptx_loader.h
parentc175eeab56567165f4be72b87746439ad0837c6e (diff)
WIP attempting to parse ptx files in order
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 a8ecda3..c5c9dd8 100644
--- a/src/cuda-sim/ptx_loader.h
+++ b/src/cuda-sim/ptx_loader.h
@@ -33,6 +33,7 @@ extern bool g_override_embedded_ptx;
extern int no_of_ptx; //counter to track number of ptx files to be extracted in an application.
class symbol_table *gpgpu_ptx_sim_load_ptx_from_string( const char *p, unsigned source_num );
+class symbol_table *gpgpu_ptx_sim_load_ptx_from_filename( const char *filename );
void gpgpu_ptxinfo_load_from_string( const char *p_for_info, unsigned source_num, unsigned sm_version=20 );
char* gpgpu_ptx_sim_convert_ptx_and_sass_to_ptxplus(const std::string ptx_str, const std::string sass_str, const std::string elf_str);
bool keep_intermediate_files();