summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gpgpu-sim/shader.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gpgpu-sim/shader.h b/src/gpgpu-sim/shader.h
index 0840d3f..bef1ae3 100644
--- a/src/gpgpu-sim/shader.h
+++ b/src/gpgpu-sim/shader.h
@@ -189,6 +189,7 @@ class shd_warp_t {
m_active_threads.reset(lane);
n_completed++;
}
+ bool test_completed(unsigned lane) {return m_active_threads.test(lane);}
void set_last_fetch(unsigned long long sim_cycle) {
m_last_fetch = sim_cycle;