summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim
diff options
context:
space:
mode:
authorMengchi Zhang <[email protected]>2019-07-11 23:29:21 -0400
committerMengchi Zhang <[email protected]>2019-07-11 23:29:21 -0400
commit0f5f90ebd896b807270abfae2cd7634733654668 (patch)
treec67eca2e69f3e175cf5df419162ca0da5712771c /src/gpgpu-sim
parent2f22ddb07752bc956063f6548d4bc26a6ae066f2 (diff)
Move g_kernel_launch_latency
Signed-off-by: Mengchi Zhang <[email protected]>
Diffstat (limited to 'src/gpgpu-sim')
-rw-r--r--src/gpgpu-sim/gpu-sim.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gpgpu-sim/gpu-sim.cc b/src/gpgpu-sim/gpu-sim.cc
index 93f041a..9726cf5 100644
--- a/src/gpgpu-sim/gpu-sim.cc
+++ b/src/gpgpu-sim/gpu-sim.cc
@@ -548,9 +548,8 @@ void gpgpu_sim_config::reg_options(option_parser_t opp)
ptx_file_line_stats_options(opp);
//Jin: kernel launch latency
- extern unsigned g_kernel_launch_latency;
option_parser_register(opp, "-gpgpu_kernel_launch_latency", OPT_INT32,
- &g_kernel_launch_latency, "Kernel launch latency in cycles. Default: 0",
+ &(gpgpu_ctx->device_runtime->g_kernel_launch_latency), "Kernel launch latency in cycles. Default: 0",
"0");
extern bool g_cdp_enabled;
option_parser_register(opp, "-gpgpu_cdp_enabled", OPT_BOOL,