summaryrefslogtreecommitdiff
path: root/src/gpgpusim_entrypoint.cc
diff options
context:
space:
mode:
authorWilson Fung <[email protected]>2012-08-16 20:11:16 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:48:54 -0700
commit888dd6c18d927d93856c721a06c7155d5eac2d53 (patch)
tree91627090401871d6093b51ee6afa8656c616ea4c /src/gpgpusim_entrypoint.cc
parent630ea0793949ef5845318e677d80c7b60a89d801 (diff)
Integration from TM-311 branch.
- Updated PTX parser to support CUDA 4.1 and 4.2. - Revised fatbin workaround to a more robust version (with comments explaining it). - Added print_simulation_time() in gpgpu_sim_thread_concurrent(). [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 13789]
Diffstat (limited to 'src/gpgpusim_entrypoint.cc')
-rw-r--r--src/gpgpusim_entrypoint.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gpgpusim_entrypoint.cc b/src/gpgpusim_entrypoint.cc
index 006cecd..6271f79 100644
--- a/src/gpgpusim_entrypoint.cc
+++ b/src/gpgpusim_entrypoint.cc
@@ -132,9 +132,10 @@ void *gpgpu_sim_thread_concurrent(void*)
printf("GPGPU-Sim: ** STOP simulation thread (no work) **\n");
fflush(stdout);
}
- if(sim_cycles) {
- g_the_gpu->update_stats();
- }
+ if(sim_cycles) {
+ g_the_gpu->update_stats();
+ print_simulation_time();
+ }
pthread_mutex_lock(&g_sim_lock);
g_sim_active = false;
pthread_mutex_unlock(&g_sim_lock);