summaryrefslogtreecommitdiff
path: root/src/cuda-sim/cuda-sim.h
diff options
context:
space:
mode:
authorMengchi Zhang <[email protected]>2019-07-09 09:53:55 -0400
committerMengchi Zhang <[email protected]>2019-07-09 09:53:55 -0400
commit39910217c8137f5ff964d2f991a688020e2d5c8c (patch)
treec68b7bef003f58ca0e0634712af9811dbd33a014 /src/cuda-sim/cuda-sim.h
parent8f6668941cf2728dba9700e45f11f61401a1fcf4 (diff)
Move opcode_latency_*
Signed-off-by: Mengchi Zhang <[email protected]>
Diffstat (limited to 'src/cuda-sim/cuda-sim.h')
-rw-r--r--src/cuda-sim/cuda-sim.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cuda-sim/cuda-sim.h b/src/cuda-sim/cuda-sim.h
index 4566dc2..977e3fc 100644
--- a/src/cuda-sim/cuda-sim.h
+++ b/src/cuda-sim/cuda-sim.h
@@ -47,8 +47,6 @@ extern int g_debug_thread_uid;
extern void ** g_inst_classification_stat;
extern void ** g_inst_op_classification_stat;
extern int g_ptx_kernel_count; // used for classification stat collection purposes
-extern char *opcode_latency_fp, *opcode_latency_dp,*opcode_latency_sfu,*opcode_latency_tensor;
-
extern class kernel_info_t *gpgpu_opencl_ptx_sim_init_grid(class function_info *entry,
gpgpu_ptx_sim_arg_list_t args,
@@ -139,6 +137,10 @@ class cuda_sim {
}
//global variables
char *opcode_latency_int;
+ char *opcode_latency_fp;
+ char *opcode_latency_dp;
+ char *opcode_latency_sfu;
+ char *opcode_latency_tensor;
int cp_count;
int cp_cta_resume;
int g_ptxinfo_error_detected;