summaryrefslogtreecommitdiff
path: root/src/cuda-sim/ptx_loader.h
diff options
context:
space:
mode:
authorAmruth <[email protected]>2018-03-25 16:01:22 -0700
committerAmruth <[email protected]>2018-03-25 16:01:22 -0700
commit26b9853cc1f6a3b17de0e319b40f28a5703ad6bf (patch)
treecaa330f0a603e4687255b2880fc7230152e4d40a /src/cuda-sim/ptx_loader.h
parent742c4dc4c2c85329754043d38c60b2a37fefdaa1 (diff)
code for removing duplicates in embedded ptx
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 d3d0c92..a8ecda3 100644
--- a/src/cuda-sim/ptx_loader.h
+++ b/src/cuda-sim/ptx_loader.h
@@ -30,6 +30,7 @@
#include <string>
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 );
void gpgpu_ptxinfo_load_from_string( const char *p_for_info, unsigned source_num, unsigned sm_version=20 );