diff options
| author | Davit Grigoryan <[email protected]> | 2026-04-23 07:34:57 +0000 |
|---|---|---|
| committer | Davit Grigoryan <[email protected]> | 2026-04-23 07:34:57 +0000 |
| commit | 3b2306b471ea0b92fc07ebef54f8f261d9c55a29 (patch) | |
| tree | 2503bf8109e8a37cb01ed60fdfb507ecdd215f26 /src/gpgpu-sim/mem_fetch.h | |
| parent | 84ec3a171c138e35a22ff6bf90960b7f4112593f (diff) | |
co-issue global mem requests
Diffstat (limited to 'src/gpgpu-sim/mem_fetch.h')
| -rw-r--r-- | src/gpgpu-sim/mem_fetch.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gpgpu-sim/mem_fetch.h b/src/gpgpu-sim/mem_fetch.h index 7704218..add4792 100644 --- a/src/gpgpu-sim/mem_fetch.h +++ b/src/gpgpu-sim/mem_fetch.h @@ -96,6 +96,12 @@ class mem_fetch { unsigned get_sid() const { return m_sid; } unsigned get_tpc() const { return m_tpc; } unsigned get_wid() const { return m_wid; } + // MEM co-issue source attribution carried via the access. get_wid() still + // returns the composite's stamped wid (source-wid-overridden via allocator). + // This extra getter exposes the split id for intra-warp disambiguation. + unsigned get_access_source_split_id() const { + return m_access.get_source_split_id(); + } bool istexture() const; bool isconst() const; enum mf_type get_type() const { return m_type; } |
