summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gpgpu-sim/gpu-sim.cc2
-rw-r--r--src/gpgpu-sim/gpu-sim.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gpgpu-sim/gpu-sim.cc b/src/gpgpu-sim/gpu-sim.cc
index 6cb237b..76137fb 100644
--- a/src/gpgpu-sim/gpu-sim.cc
+++ b/src/gpgpu-sim/gpu-sim.cc
@@ -64,6 +64,8 @@
#ifdef GPGPUSIM_POWER_MODEL
#include "power_interface.h"
+#else
+class gpgpu_sim_wrapper {};
#endif
#include <stdio.h>
diff --git a/src/gpgpu-sim/gpu-sim.h b/src/gpgpu-sim/gpu-sim.h
index 7fad76d..f8c2e2e 100644
--- a/src/gpgpu-sim/gpu-sim.h
+++ b/src/gpgpu-sim/gpu-sim.h
@@ -453,9 +453,7 @@ private:
class shader_core_stats *m_shader_stats;
class memory_stats_t *m_memory_stats;
class power_stat_t *m_power_stats;
-#ifdef GPGPUSIM_POWER_MODEL
class gpgpu_sim_wrapper *m_gpgpusim_wrapper;
-#endif
unsigned long long gpu_tot_issued_cta;
unsigned long long last_gpu_sim_insn;