diff options
| author | Mengchi Zhang <[email protected]> | 2019-07-02 00:57:01 -0400 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-07-02 00:57:01 -0400 |
| commit | c7b8987b313602bf0c3a6edb4830bfba3aa083ae (patch) | |
| tree | f0175d95d1354851ba9043c4be373565d53d6d43 /src/cuda-sim/ptx_parser.h | |
| parent | 067ca5fcce6ef4fa51ed3949dbffe62f60f6ad12 (diff) | |
| parent | 3600ed5c59adafe40840524d19f622aa25e60dd6 (diff) | |
Merge pull request #20 from echoedit/dev
Dev
Diffstat (limited to 'src/cuda-sim/ptx_parser.h')
| -rw-r--r-- | src/cuda-sim/ptx_parser.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cuda-sim/ptx_parser.h b/src/cuda-sim/ptx_parser.h index 25c01fe..bc9a872 100644 --- a/src/cuda-sim/ptx_parser.h +++ b/src/cuda-sim/ptx_parser.h @@ -62,6 +62,7 @@ class ptx_recognizer { g_error_detected = 0; g_entry_func_param_index=0; g_func_info = NULL; + g_debug_ir_generation=false; } // global list yyscan_t scanner; @@ -103,6 +104,7 @@ class ptx_recognizer { unsigned g_entry_func_param_index; function_info *g_func_info; operand_info g_return_var; + bool g_debug_ir_generation; // member function list void init_directive_state(); @@ -169,6 +171,7 @@ class ptx_recognizer { void start_inst_group(); void end_inst_group(); bool check_for_duplicates( const char *identifier ); + void read_parser_environment_variables(); }; |
