summaryrefslogtreecommitdiff
path: root/src/gpgpusim_entrypoint.cc
diff options
context:
space:
mode:
authortgrogers <[email protected]>2018-04-05 10:10:15 -0400
committertgrogers <[email protected]>2018-04-05 10:10:15 -0400
commit49429d3b01dcb5bac49b71df2156bceb70b64ce9 (patch)
tree950a181a2dc7cb1bbd9d9349dee2b9141d964455 /src/gpgpusim_entrypoint.cc
parentc5da0034dd329976c77e2951e2f879095ea8cdac (diff)
GPGPU-Sim should always print when the sim thread exits - if this doesn't happen, something bad has happened
Diffstat (limited to 'src/gpgpusim_entrypoint.cc')
-rw-r--r--src/gpgpusim_entrypoint.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gpgpusim_entrypoint.cc b/src/gpgpusim_entrypoint.cc
index dac9fd8..64962ab 100644
--- a/src/gpgpusim_entrypoint.cc
+++ b/src/gpgpusim_entrypoint.cc
@@ -165,10 +165,10 @@ void *gpgpu_sim_thread_concurrent(void*)
g_sim_active = false;
pthread_mutex_unlock(&g_sim_lock);
} while( !g_sim_done );
- if(g_debug_execution >= 3) {
- printf("GPGPU-Sim: *** simulation thread exiting ***\n");
- fflush(stdout);
- }
+
+ printf("GPGPU-Sim: *** simulation thread exiting ***\n");
+ fflush(stdout);
+
if(break_limit) {
printf("GPGPU-Sim: ** break due to reaching the maximum cycles (or instructions) **\n");
exit(1);