diff options
| author | Mengchi Zhang <[email protected]> | 2019-07-12 00:09:29 -0400 |
|---|---|---|
| committer | Mengchi Zhang <[email protected]> | 2019-07-12 00:17:48 -0400 |
| commit | 4671280cfe7252bf875d071e667f57064250a1b7 (patch) | |
| tree | ac288c82821809325bbe36a2c1c2fce7ec082b70 /src/gpgpu-sim | |
| parent | 524c7e2ff37bba3ec60706605b34c6e354f928f1 (diff) | |
Move g_cdp_enabled
Signed-off-by: Mengchi Zhang <[email protected]>
Diffstat (limited to 'src/gpgpu-sim')
| -rw-r--r-- | src/gpgpu-sim/gpu-sim.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gpgpu-sim/gpu-sim.cc b/src/gpgpu-sim/gpu-sim.cc index a3d6a8a..0481259 100644 --- a/src/gpgpu-sim/gpu-sim.cc +++ b/src/gpgpu-sim/gpu-sim.cc @@ -551,9 +551,8 @@ void gpgpu_sim_config::reg_options(option_parser_t opp) option_parser_register(opp, "-gpgpu_kernel_launch_latency", OPT_INT32, &(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, - &g_cdp_enabled, "Turn on CDP", + &(gpgpu_ctx->device_runtime->g_cdp_enabled), "Turn on CDP", "0"); } |
