aboutsummaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/shader.h
diff options
context:
space:
mode:
authorAaron M Barnes <[email protected]>2022-02-18 00:49:47 -0500
committerAaron M Barnes <[email protected]>2022-02-18 00:49:47 -0500
commit43198e9c34c4ac2c215c90f9b9768b737b23e429 (patch)
treebcbd4760ab5080c073a295a2cfe45cd2b10426f0 /src/gpgpu-sim/shader.h
parentf0ad71cfdfe4675b02a948c7d3547da0ddce60e9 (diff)
fix trace-driven concurrency segfault
Diffstat (limited to 'src/gpgpu-sim/shader.h')
-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 d80476f..c3e6f93 100644
--- a/src/gpgpu-sim/shader.h
+++ b/src/gpgpu-sim/shader.h
@@ -171,6 +171,7 @@ class shd_warp_t {
void clear_membar() { m_membar = false; }
bool get_membar() const { return m_membar; }
virtual address_type get_pc() const { return m_next_pc; }
+ virtual kernel_info_t* get_kernel_info() const;
void set_next_pc(address_type pc) { m_next_pc = pc; }
void store_info_of_last_inst_at_barrier(const warp_inst_t *pI) {