summaryrefslogtreecommitdiff
path: root/src/abstract_hardware_model.cc
diff options
context:
space:
mode:
authorJin Wang <[email protected]>2016-07-06 05:18:44 -0400
committerJin Wang <[email protected]>2016-07-06 05:18:44 -0400
commit2af85e353bccad8c8536c1d5f039361884b96872 (patch)
tree9e84ba2452ddd0d8e76dbf38318312b9c8d715a4 /src/abstract_hardware_model.cc
parent9f958e424f2fc952970794efc7647ceae1674d97 (diff)
ADD: add knob to enable CDP in gpgpusim config
Diffstat (limited to 'src/abstract_hardware_model.cc')
-rw-r--r--src/abstract_hardware_model.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/abstract_hardware_model.cc b/src/abstract_hardware_model.cc
index 819ad35..fe6f8ab 100644
--- a/src/abstract_hardware_model.cc
+++ b/src/abstract_hardware_model.cc
@@ -550,7 +550,8 @@ void warp_inst_t::completed( unsigned long long cycle ) const
ptx_file_line_stats_add_latency(pc, latency * active_count());
}
-//Jin: kernel launch latency
+//Jin: CDP support
+bool g_cdp_enabled;
unsigned g_kernel_launch_latency;
unsigned kernel_info_t::m_next_uid = 1;