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