diff options
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; } |
