summaryrefslogtreecommitdiff
path: root/src/cuda-sim/ptx_sim.h
diff options
context:
space:
mode:
authorMengchi Zhang <[email protected]>2019-06-20 14:06:27 -0400
committerMengchi Zhang <[email protected]>2019-06-20 20:38:12 -0400
commitdc3c13e2d29ae296394ace75b2a4bf3a3c1da027 (patch)
tree216a70b0166d6ea5bcc3aee03d1a98d516733f27 /src/cuda-sim/ptx_sim.h
parent632bdaab79b9c1fd51ef8152aa00209f76c03101 (diff)
Fix bug for bar.red.op.pred
Signed-off-by: Mengchi Zhang <[email protected]>
Diffstat (limited to 'src/cuda-sim/ptx_sim.h')
-rw-r--r--src/cuda-sim/ptx_sim.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/cuda-sim/ptx_sim.h b/src/cuda-sim/ptx_sim.h
index d226fbe..a045a76 100644
--- a/src/cuda-sim/ptx_sim.h
+++ b/src/cuda-sim/ptx_sim.h
@@ -341,6 +341,7 @@ public:
dim3 get_ctaid() const { return m_ctaid; }
dim3 get_tid() const { return m_tid; }
+ dim3 get_ntid() const { return m_ntid; }
class gpgpu_sim *get_gpu() { return (gpgpu_sim*)m_gpu;}
unsigned get_hw_tid() const { return m_hw_tid;}
unsigned get_hw_ctaid() const { return m_hw_ctaid;}