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