diff options
| author | aamir <[email protected]> | 2018-11-03 17:03:58 -0700 |
|---|---|---|
| committer | aamir <[email protected]> | 2018-11-03 17:03:58 -0700 |
| commit | eae030c9d1d607d1c14e4ade99cb5caea6403efd (patch) | |
| tree | cae49cbe338f9aa84c0badb6f543154b29e6f8b0 /src/cuda-sim/ptx_ir.cc | |
| parent | a77c16f1ef6efc0b58eb14273aa52663eb7845b3 (diff) | |
merged with memory subsytem. Regression is passing but tensorcore kernel is stuck in deadlock
Diffstat (limited to 'src/cuda-sim/ptx_ir.cc')
| -rw-r--r-- | src/cuda-sim/ptx_ir.cc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/cuda-sim/ptx_ir.cc b/src/cuda-sim/ptx_ir.cc index d12c741..1813f8c 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; } @@ -1234,16 +1235,16 @@ ptx_instruction::ptx_instruction( int opcode, m_inst_size = 4; // bytes break; case EXTP_OPTION: - break; + break; case NC_OPTION: - break; + m_cache_option = last_ptx_inst_option; + break; case UP_OPTION: case DOWN_OPTION: case BFLY_OPTION: case IDX_OPTION: m_shfl_op = last_ptx_inst_option; break; - case PRMT_F4E_MODE: case PRMT_B4E_MODE: case PRMT_RC8_MODE: |
