summaryrefslogtreecommitdiff
path: root/src/cuda-sim/cuda-sim.h
diff options
context:
space:
mode:
authorMengchi Zhang <[email protected]>2019-07-11 13:23:12 -0400
committerMengchi Zhang <[email protected]>2019-07-11 13:23:12 -0400
commitdb406fd188f389f3050879e8cd76c3817b1630f8 (patch)
tree213d657e661df295c12939039699cbc5ec884ccf /src/cuda-sim/cuda-sim.h
parentb97d17bd2a527a6c04cb9354b04ae447c1f322b8 (diff)
Move ptx_tex_regs
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 194309a..b3b6b73 100644
--- a/src/cuda-sim/cuda-sim.h
+++ b/src/cuda-sim/cuda-sim.h
@@ -133,6 +133,7 @@ class cuda_sim {
g_assemble_code_next_pc=0;
g_debug_thread_uid = 0;
g_override_embedded_ptx = false;
+ ptx_tex_regs = NULL;
gpgpu_ctx = ctx;
}
//global variables
@@ -169,6 +170,7 @@ class cuda_sim {
int g_debug_thread_uid;
bool g_override_embedded_ptx;
std::set<unsigned long long> g_ptx_cta_info_sm_idx_used;
+ ptx_reg_t* ptx_tex_regs;
// backward pointer
class gpgpu_context* gpgpu_ctx;
//global functions