summaryrefslogtreecommitdiff
path: root/src/cuda-sim/cuda_device_runtime.h
diff options
context:
space:
mode:
authorMengchi Zhang <[email protected]>2019-07-12 00:09:29 -0400
committerMengchi Zhang <[email protected]>2019-07-12 00:17:48 -0400
commit4671280cfe7252bf875d071e667f57064250a1b7 (patch)
treeac288c82821809325bbe36a2c1c2fce7ec082b70 /src/cuda-sim/cuda_device_runtime.h
parent524c7e2ff37bba3ec60706605b34c6e354f928f1 (diff)
Move g_cdp_enabled
Signed-off-by: Mengchi Zhang <[email protected]>
Diffstat (limited to 'src/cuda-sim/cuda_device_runtime.h')
-rw-r--r--src/cuda-sim/cuda_device_runtime.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cuda-sim/cuda_device_runtime.h b/src/cuda-sim/cuda_device_runtime.h
index f37849b..7f7a0ca 100644
--- a/src/cuda-sim/cuda_device_runtime.h
+++ b/src/cuda-sim/cuda_device_runtime.h
@@ -51,6 +51,8 @@ class cuda_device_runtime {
std::list<device_launch_operation_t> g_cuda_device_launch_op;
unsigned g_kernel_launch_latency;
unsigned long long g_max_total_param_size;
+ bool g_cdp_enabled;
+
// backward pointer
class gpgpu_context* gpgpu_ctx;
#if (CUDART_VERSION >= 5000)