diff options
| author | gpgpu-sim <[email protected]> | 2018-10-29 13:55:31 -0700 |
|---|---|---|
| committer | GitHub <[email protected]> | 2018-10-29 13:55:31 -0700 |
| commit | 42d8d8c9b5b0eb93ff228a877fd6a5bed5cf956d (patch) | |
| tree | 7bc8917d1f685487d775975596f9b22a063e4aef /src/cuda-sim/ptx_ir.cc | |
| parent | 68134d5eb326552fc1ef4b02b2eb21103266283b (diff) | |
| parent | ea226a289bcdf94811712a4563ae3eb334ee3a7b (diff) | |
Merge pull request #79 from purdue-aalp/dev
Merging dev-purdue to public-dev-gpgpu-sim-repo
Diffstat (limited to 'src/cuda-sim/ptx_ir.cc')
| -rw-r--r-- | src/cuda-sim/ptx_ir.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cuda-sim/ptx_ir.cc b/src/cuda-sim/ptx_ir.cc index 8ebdcf8..ba6d7ed 100644 --- a/src/cuda-sim/ptx_ir.cc +++ b/src/cuda-sim/ptx_ir.cc @@ -222,6 +222,7 @@ bool symbol_table::add_function_decl( const char *name, int entry_point, functio } else { *func_info = new function_info(entry_point); (*func_info)->set_name(name); + (*func_info)->set_maxnt_id(0); m_function_info_lookup[key] = *func_info; } @@ -1210,6 +1211,7 @@ ptx_instruction::ptx_instruction( int opcode, case EXTP_OPTION: break; case NC_OPTION: + m_cache_option = last_ptx_inst_option; break; case UP_OPTION: case DOWN_OPTION: |
