summaryrefslogtreecommitdiff
path: root/src/abstract_hardware_model.cc
diff options
context:
space:
mode:
authorMahmoud <[email protected]>2019-09-20 15:17:56 -0400
committerMahmoud <[email protected]>2019-09-20 15:17:56 -0400
commit177afa15266ddcc87cc60ecda552717e07197eaa (patch)
tree72df57f486ce3e5c59be9d3dc201e9332ea6d205 /src/abstract_hardware_model.cc
parent5db69b3e5b058c030075c066db64922bf1e6af02 (diff)
removing some comments and refectoring the code
Diffstat (limited to 'src/abstract_hardware_model.cc')
-rw-r--r--src/abstract_hardware_model.cc7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/abstract_hardware_model.cc b/src/abstract_hardware_model.cc
index 063aa8d..758ec00 100644
--- a/src/abstract_hardware_model.cc
+++ b/src/abstract_hardware_model.cc
@@ -471,8 +471,7 @@ void warp_inst_t::generate_mem_accesses()
}
if ( space.get_type() == global_space ) {
- //TO DO: check here
- // m_config->gpgpu_ctx->stats->ptx_file_line_stats_add_uncoalesced_gmem( pc, m_accessq.size() - starting_queue_size );
+ m_config->gpgpu_ctx->stats->ptx_file_line_stats_add_uncoalesced_gmem( pc, m_accessq.size() - starting_queue_size );
}
m_mem_accesses_created=true;
}
@@ -707,9 +706,7 @@ void warp_inst_t::completed( unsigned long long cycle ) const
{
unsigned long long latency = cycle - issue_cycle;
assert(latency <= cycle); // underflow detection
- //check the trace mode here
- //TO DO
- //m_config->gpgpu_ctx->stats->ptx_file_line_stats_add_latency(pc, latency * active_count());
+ m_config->gpgpu_ctx->stats->ptx_file_line_stats_add_latency(pc, latency * active_count());
}