diff options
| author | Akshay Jain <[email protected]> | 2018-03-22 04:45:59 -0400 |
|---|---|---|
| committer | Akshay Jain <[email protected]> | 2018-03-22 04:45:59 -0400 |
| commit | b43b94569734d9f27b2e4bbb22272aa4243fbd56 (patch) | |
| tree | 1766d1a3952a79e265b51de1a8e36b11d12d3873 /src/cuda-sim | |
| parent | 525f177a1d4f1fc309d22197bc8af26ee8d4c454 (diff) | |
Change 332 by jain156@akshayj-lt1 on 2018/02/01 05:20:33
Added shmem_divergence_hist and warp_inst_classification
Diffstat (limited to 'src/cuda-sim')
| -rw-r--r-- | src/cuda-sim/cuda-sim.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cuda-sim/cuda-sim.cc b/src/cuda-sim/cuda-sim.cc index 17a7798..169c491 100644 --- a/src/cuda-sim/cuda-sim.cc +++ b/src/cuda-sim/cuda-sim.cc @@ -1331,8 +1331,10 @@ void ptx_thread_info::ptx_exec_inst( warp_inst_t &inst, unsigned lane_id) if ( gpgpu_ptx_instruction_classification ) { init_inst_classification_stat(); - if (op_classification) + if (op_classification) { StatAddSample( g_inst_classification_stat[g_ptx_kernel_count], op_classification); + inst.op_classification = op_classification; + } if (pI->get_space().get_type()) StatAddSample( g_inst_mem_classification_stat[g_ptx_kernel_count], ( int )pI->get_space().get_type()); StatAddSample( g_inst_op_classification_stat[g_ptx_kernel_count], (int) pI->get_opcode() ); |
