diff options
Diffstat (limited to 'src/gpgpu-sim/gpu-sim.h')
| -rw-r--r-- | src/gpgpu-sim/gpu-sim.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gpgpu-sim/gpu-sim.h b/src/gpgpu-sim/gpu-sim.h index 98e52f4..5da92a8 100644 --- a/src/gpgpu-sim/gpu-sim.h +++ b/src/gpgpu-sim/gpu-sim.h @@ -601,6 +601,11 @@ class gpgpu_sim : public gpgpu_t { void print_stats(unsigned long long streamID); void update_stats(); void deadlock_check(); + // MEMCO_DBG_DEADLOCK diagnostic — invoked from signal handler to dump + // per-warp state for all clusters with un-completed threads. Public so + // the static signal-handler thunk in gpu-sim.cc can call it through + // the saved gpgpu_sim* pointer. + void dbg_dump_all_warps(); void inc_completed_cta() { gpu_completed_cta++; } void get_pdom_stack_top_info(unsigned sid, unsigned tid, unsigned *pc, unsigned *rpc); |
