summaryrefslogtreecommitdiff
path: root/src/cuda-sim/ptx_parser.h
diff options
context:
space:
mode:
authorMengchi Zhang <[email protected]>2019-07-11 13:57:08 -0400
committerMengchi Zhang <[email protected]>2019-07-11 13:57:08 -0400
commit33d064f5a38b60fb0ed4b4ad78212c6e5d9bfc0f (patch)
tree2beaf4433e56bf708c22fd3a28444bf1bc3eb4b3 /src/cuda-sim/ptx_parser.h
parentdb406fd188f389f3050879e8cd76c3817b1630f8 (diff)
g_sym_name_to_symbol_table
Signed-off-by: Mengchi Zhang <[email protected]>
Diffstat (limited to 'src/cuda-sim/ptx_parser.h')
-rw-r--r--src/cuda-sim/ptx_parser.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cuda-sim/ptx_parser.h b/src/cuda-sim/ptx_parser.h
index 7e87ec8..1e559a2 100644
--- a/src/cuda-sim/ptx_parser.h
+++ b/src/cuda-sim/ptx_parser.h
@@ -104,6 +104,8 @@ class ptx_recognizer {
int g_entry_point;
const struct core_config *g_shader_core_config;
std::map<std::string,std::map<unsigned,const ptx_instruction*> > g_inst_lookup;
+ // the program intermediate representation...
+ std::map<std::string,symbol_table*> g_sym_name_to_symbol_table;
// backward pointer
class gpgpu_context* gpgpu_ctx;