summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/shader.h
diff options
context:
space:
mode:
authorDavit Grigoryan <[email protected]>2026-04-29 00:02:46 +0000
committerDavit Grigoryan <[email protected]>2026-04-29 00:02:46 +0000
commit314fb652d8a27a38599eeeec121d45327a405bb0 (patch)
treed3fa263f05e8b40c766b68eb1771b619b847802f /src/gpgpu-sim/shader.h
parentfbb90ef3a76cd6c469782c84668d25c5f3bfdd22 (diff)
impl option w/ only 2 SBs; stall so SBs are cleared before div or reconv
Diffstat (limited to 'src/gpgpu-sim/shader.h')
-rw-r--r--src/gpgpu-sim/shader.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gpgpu-sim/shader.h b/src/gpgpu-sim/shader.h
index ebcfc8d..92d6d33 100644
--- a/src/gpgpu-sim/shader.h
+++ b/src/gpgpu-sim/shader.h
@@ -1679,6 +1679,9 @@ class ldst_unit : public pipelined_simd_unit {
// matching simd_set's source_mask. Empty for primary access (which
// uses pipe_reg's own get_active_mask() at release time).
active_mask_t source_mask;
+ // Mode 2: source_inst's owning ibuffer half (0 or 1). For primary
+ // access (non-co-issue), defaults to 0 (composite IS the primary).
+ unsigned source_slot_id;
};
mem_src_t resolve_source(const warp_inst_t &inst,
unsigned access_src_wid,