summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAkshay Jain <[email protected]>2018-03-27 04:21:38 -0400
committerAkshay Jain <[email protected]>2018-03-27 04:21:38 -0400
commit89c198ba1f271bfc12a6c7d9c471e62a8daa5634 (patch)
treeace0ac5fbdffd896ea167819da2c5f184a0e9fe0 /src
parentb43b94569734d9f27b2e4bbb22272aa4243fbd56 (diff)
Correcting the segfault in stats print. It was because print_stats() was called before g_ptx_kernel_count was initialized
Diffstat (limited to 'src')
-rw-r--r--src/gpgpusim_entrypoint.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpgpusim_entrypoint.cc b/src/gpgpusim_entrypoint.cc
index 1ee980a..fe9e419 100644
--- a/src/gpgpusim_entrypoint.cc
+++ b/src/gpgpusim_entrypoint.cc
@@ -156,7 +156,7 @@ void *gpgpu_sim_thread_concurrent(void*)
printf("GPGPU-Sim: ** STOP simulation thread (no work) **\n");
fflush(stdout);
}
- g_the_gpu->print_stats();
+ //g_the_gpu->print_stats();
if(sim_cycles) {
g_the_gpu->update_stats();
print_simulation_time();