diff options
| author | Davit Grigoryan <[email protected]> | 2026-04-28 09:50:44 +0000 |
|---|---|---|
| committer | Davit Grigoryan <[email protected]> | 2026-04-28 09:50:44 +0000 |
| commit | 3d4d274eb3a6a23a5924b557d010590e219c5256 (patch) | |
| tree | 451bc70a5292e9cc055645f2d7365c3332df8385 /src/gpgpu-sim/gpu-sim.h | |
| parent | 2e2f1c89a6b296c9cb28c8e8b0fabb670b4ba3f7 (diff) | |
fix atomic counters; add more dbg prints
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); |
