summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim
diff options
context:
space:
mode:
authorAhmed El-Shafiey <[email protected]>2012-12-20 16:57:54 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:49:23 -0700
commitfecd769d1e7813b6cf962218208810049e2ad777 (patch)
treecbb7b9e6ec38fb713a1ee2a29ea3d66d6b1faec1 /src/gpgpu-sim
parent7c67c73a642794e2f95cb9b7f5b8377363adc0f2 (diff)
parsing the XML file only if the power simulator is enabled -- this bug was introduced from the prervious changelist
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 14853]
Diffstat (limited to 'src/gpgpu-sim')
-rw-r--r--src/gpgpu-sim/gpu-sim.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gpgpu-sim/gpu-sim.cc b/src/gpgpu-sim/gpu-sim.cc
index 5b946d3..6cb237b 100644
--- a/src/gpgpu-sim/gpu-sim.cc
+++ b/src/gpgpu-sim/gpu-sim.cc
@@ -487,7 +487,7 @@ gpgpu_sim::gpgpu_sim( const gpgpu_sim_config &config )
ptx_file_line_stats_create_exposed_latency_tracker(m_config.num_shader());
#ifdef GPGPUSIM_POWER_MODEL
- m_gpgpusim_wrapper = new gpgpu_sim_wrapper(config.g_power_config_name);
+ m_gpgpusim_wrapper = new gpgpu_sim_wrapper(config.g_power_simulation_enabled,config.g_power_config_name);
#endif
m_shader_stats = new shader_core_stats(m_shader_config);