diff options
| author | aamir <[email protected]> | 2018-07-21 19:21:30 -0700 |
|---|---|---|
| committer | aamir <[email protected]> | 2018-07-21 19:21:30 -0700 |
| commit | b3ad8abea43b7d1e8887f57d6e30c5a40cf752a6 (patch) | |
| tree | f357a9786c9aa4eea28cbe5ed85cd6a929737cb0 /src/cuda-sim/cuda-sim.cc | |
| parent | e541026cfc0ee4be25e7093cb7ff3acfa3cbb6e7 (diff) | |
merging the changes of cutlass on negar tensorcore branch
Diffstat (limited to 'src/cuda-sim/cuda-sim.cc')
| -rw-r--r-- | src/cuda-sim/cuda-sim.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/cuda-sim/cuda-sim.cc b/src/cuda-sim/cuda-sim.cc index 506bc95..8284ad5 100644 --- a/src/cuda-sim/cuda-sim.cc +++ b/src/cuda-sim/cuda-sim.cc @@ -1273,6 +1273,13 @@ void ptx_thread_info::ptx_exec_inst( warp_inst_t &inst, unsigned lane_id) addr_t pc = next_instr(); assert( pc == inst.pc ); // make sure timing model and functional model are in sync const ptx_instruction *pI = m_func_info->get_instruction(pc); + #if 0 + if(lane_id==0){ + printf("EXECUTION_FLOW:LINE_NUM:%d\n",pI->source_line()); + printf("EXECUTION_FLOW:INST:%s\n",pI->get_source()); + } + #endif + set_npc( pc + pI->inst_size() ); |
