summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/gpu-sim.h
diff options
context:
space:
mode:
authorMahmoud <[email protected]>2019-09-04 21:38:57 -0400
committerMahmoud <[email protected]>2019-09-04 21:38:57 -0400
commiteb3b077cddb24a734bb72f5c1588dee4034214a7 (patch)
tree7350591f8d5e3156f6b2c69cc54b7568cc77aa77 /src/gpgpu-sim/gpu-sim.h
parent41da287aced4587c6005725ac4ca9b9809c2e08f (diff)
adding trace class and parss kernel info
Diffstat (limited to 'src/gpgpu-sim/gpu-sim.h')
-rw-r--r--src/gpgpu-sim/gpu-sim.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gpgpu-sim/gpu-sim.h b/src/gpgpu-sim/gpu-sim.h
index 76c7a06..6b57bd8 100644
--- a/src/gpgpu-sim/gpu-sim.h
+++ b/src/gpgpu-sim/gpu-sim.h
@@ -348,6 +348,9 @@ 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; }
+ char* get_traces_filename() const { return g_traces_filename; }
+
private:
void init_clock_domains(void );
@@ -401,6 +404,10 @@ private:
unsigned int gpgpu_compute_capability_minor;
unsigned long long liveness_message_freq;
+ //trace driven mode options
+ bool trace_driven_mode;
+ char *g_traces_filename;
+
friend class gpgpu_sim;
};