summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/shader.h
diff options
context:
space:
mode:
authorDavit Grigoryan <[email protected]>2026-04-27 06:39:20 +0000
committerDavit Grigoryan <[email protected]>2026-04-27 06:39:20 +0000
commit2e2f1c89a6b296c9cb28c8e8b0fabb670b4ba3f7 (patch)
tree9b6e18eb4e7182ed1fa0f0f46fc3c57d40c8021d /src/gpgpu-sim/shader.h
parent2f190971f5f952f55197d385c688667439bc6649 (diff)
fix co-issue scheduling pc assertions
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 ce0c8c4..f25ba0e 100644
--- a/src/gpgpu-sim/shader.h
+++ b/src/gpgpu-sim/shader.h
@@ -196,6 +196,9 @@ class shd_warp_t {
n_completed++;
}
bool test_active(unsigned lane) { return m_active_threads.test(lane); }
+ const std::bitset<MAX_WARP_SIZE> &get_active_threads() const {
+ return m_active_threads;
+ }
void set_last_fetch(unsigned long long sim_cycle) {
m_last_fetch = sim_cycle;