diff options
| author | Akshay Jain <[email protected]> | 2018-03-27 04:21:38 -0400 |
|---|---|---|
| committer | Akshay Jain <[email protected]> | 2018-03-27 04:21:38 -0400 |
| commit | 89c198ba1f271bfc12a6c7d9c471e62a8daa5634 (patch) | |
| tree | ace0ac5fbdffd896ea167819da2c5f184a0e9fe0 | |
| parent | b43b94569734d9f27b2e4bbb22272aa4243fbd56 (diff) | |
Correcting the segfault in stats print. It was because print_stats() was called before g_ptx_kernel_count was initialized
| -rw-r--r-- | src/gpgpusim_entrypoint.cc | 2 |
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(); |
