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/scoreboard.h | |
| parent | 2e2f1c89a6b296c9cb28c8e8b0fabb670b4ba3f7 (diff) | |
fix atomic counters; add more dbg prints
Diffstat (limited to 'src/gpgpu-sim/scoreboard.h')
| -rw-r--r-- | src/gpgpu-sim/scoreboard.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gpgpu-sim/scoreboard.h b/src/gpgpu-sim/scoreboard.h index 1de81dd..3dbb1ce 100644 --- a/src/gpgpu-sim/scoreboard.h +++ b/src/gpgpu-sim/scoreboard.h @@ -64,6 +64,11 @@ class Scoreboard { // and any registers still reserved at the end of simulation. void dumpAccounting(FILE *out) const; + // Read-only inspector — dumps the primary and secondary reg sets for one + // warp. Called from the deadlock-detection path under MEMCO_DBG_DEADLOCK + // env var. No state mutation. + void dump_warp_state(FILE *out, unsigned wid) const; + private: void reserveRegister(unsigned wid, unsigned regnum); int get_sid() const { return m_sid; } |
