summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/gpu-sim.h
diff options
context:
space:
mode:
authorMahmoud <[email protected]>2020-05-20 20:46:10 -0400
committerMahmoud <[email protected]>2020-05-20 20:46:10 -0400
commit62517049f7f0a2503cb72382a3fb089d3e037bb7 (patch)
tree45d4d22398d2ba1f4c975ae9eceec71e112b5bb7 /src/gpgpu-sim/gpu-sim.h
parent9122b45726d55a21a68d143083eae2ded0c2ac8c (diff)
parent52204ff08a9c9a21a99fee3f976d2a419c014fec (diff)
Merge branch 'dev-traces' of https://github.com/mkhairy/gpgpu-sim-traces into dev-traces
Diffstat (limited to 'src/gpgpu-sim/gpu-sim.h')
-rw-r--r--src/gpgpu-sim/gpu-sim.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gpgpu-sim/gpu-sim.h b/src/gpgpu-sim/gpu-sim.h
index 1ac4fdb..abc905e 100644
--- a/src/gpgpu-sim/gpu-sim.h
+++ b/src/gpgpu-sim/gpu-sim.h
@@ -348,7 +348,8 @@ public:
size_t sync_depth_limit() const {return runtime_sync_depth_limit; }
size_t pending_launch_count_limit() const {return runtime_pending_launch_count_limit;}
- unsigned is_trace_driven_mode() const { return trace_driven_mode; }
+ bool is_trace_driven_mode() const { return trace_driven_mode; }
+ bool is_skip_first_kernel() const { return trace_skip_first_kernel; }
char* get_traces_filename() const { return g_traces_filename; }
bool flush_l1() const { return gpgpu_flush_l1_cache; }
@@ -408,6 +409,7 @@ private:
//trace driven mode options
bool trace_driven_mode;
+ bool trace_skip_first_kernel;
char *g_traces_filename;
friend class gpgpu_sim;