From 44a2f74ff840bcfced0f21357d79bdad23da9227 Mon Sep 17 00:00:00 2001 From: Mengchi Zhang Date: Wed, 10 Jul 2019 16:13:37 -0400 Subject: Move g_assemble_code_next_pc Signed-off-by: Mengchi Zhang --- src/cuda-sim/cuda-sim.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/cuda-sim/cuda-sim.h') 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 g_constants; std::map 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); -- cgit v1.3