summaryrefslogtreecommitdiff
path: root/src/cuda-sim/cuda-sim.h
diff options
context:
space:
mode:
authorMengchi Zhang <[email protected]>2019-07-15 14:09:25 -0400
committerMengchi Zhang <[email protected]>2019-07-15 14:09:25 -0400
commit1e57dc86369fbde8d31b4a629721c716ca2c3307 (patch)
tree806175a07d586504c521893002057e35ff2593a7 /src/cuda-sim/cuda-sim.h
parent6ec4563b11fe99e539eb83412acaadc6f67b05ba (diff)
Move g_debug_pc
Signed-off-by: Mengchi Zhang <[email protected]>
Diffstat (limited to 'src/cuda-sim/cuda-sim.h')
-rw-r--r--src/cuda-sim/cuda-sim.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cuda-sim/cuda-sim.h b/src/cuda-sim/cuda-sim.h
index 9041e30..5bd4cb2 100644
--- a/src/cuda-sim/cuda-sim.h
+++ b/src/cuda-sim/cuda-sim.h
@@ -136,6 +136,7 @@ class cuda_sim {
ptx_tex_regs = NULL;
g_ptx_thread_info_delete_count=0;
g_ptx_thread_info_uid_next=1;
+ g_debug_pc = 0xBEEF1518;
gpgpu_ctx = ctx;
}
//global variables
@@ -175,6 +176,7 @@ class cuda_sim {
ptx_reg_t* ptx_tex_regs;
unsigned g_ptx_thread_info_delete_count;
unsigned g_ptx_thread_info_uid_next;
+ addr_t g_debug_pc;
// backward pointer
class gpgpu_context* gpgpu_ctx;
//global functions