summaryrefslogtreecommitdiff
path: root/src/cuda-sim/cuda-sim.h
diff options
context:
space:
mode:
authorMengchi Zhang <[email protected]>2019-07-10 16:13:37 -0400
committerMengchi Zhang <[email protected]>2019-07-10 16:13:37 -0400
commit44a2f74ff840bcfced0f21357d79bdad23da9227 (patch)
tree6e2023876e7e16ae41d062dfd6d56f95bb35926e /src/cuda-sim/cuda-sim.h
parente83a9c978ebd08eed616eb6fdbdef88160232076 (diff)
Move g_assemble_code_next_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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/cuda-sim/cuda-sim.h b/src/cuda-sim/cuda-sim.h
index 0b6e84f..99fd92c 100644
--- a/src/cuda-sim/cuda-sim.h
+++ b/src/cuda-sim/cuda-sim.h
@@ -131,6 +131,7 @@ class cuda_sim {
g_cuda_launch_blocking = false;
g_inst_classification_stat = NULL;
g_inst_op_classification_stat= NULL;
+ g_assemble_code_next_pc=0;
gpgpu_ctx = ctx;
}
//global variables
@@ -162,8 +163,9 @@ class cuda_sim {
std::set<std::string> g_constants;
std::map<unsigned,function_info*> g_pc_to_finfo;
int gpgpu_ptx_instruction_classification;
- // backward pointer
unsigned cdp_latency[5];
+ unsigned g_assemble_code_next_pc;
+ // backward pointer
class gpgpu_context* gpgpu_ctx;
//global functions
void ptx_opcocde_latency_options (option_parser_t opp);