aboutsummaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/gpu-sim.h
diff options
context:
space:
mode:
authorAhmed El-Shafiey <[email protected]>2012-12-20 23:19:36 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:49:24 -0700
commite5516925760944519a674d0e5ac94d7dbd4d2788 (patch)
treeaa884a02cc2b731dd918bf0547b164ccf4ed85f0 /src/gpgpu-sim/gpu-sim.h
parent9333cfbf261666ac2a3d40b712b6cbb3346d8c00 (diff)
1- it seems like using #ifdef within a class definition confuses valgrind, replaced this with defining an empty class if #GPGPUSIM_POWER_MODEL is not defined.
2- fixing the makefile to make it actually compiles if the #GPGPUSIM_POWER_MODEL is not defined. [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 14858]
Diffstat (limited to 'src/gpgpu-sim/gpu-sim.h')
-rw-r--r--src/gpgpu-sim/gpu-sim.h2
1 files changed, 0 insertions, 2 deletions
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;