summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README6
-rw-r--r--configs/GTX480/gpgpusim.config1
-rw-r--r--src/gpgpu-sim/gpu-sim.cc6
3 files changed, 7 insertions, 6 deletions
diff --git a/README b/README
index 5cd0cf3..1b6cd6c 100644
--- a/README
+++ b/README
@@ -252,10 +252,10 @@ LD_LIBRARY_PATH environment variable.
The following GPGPU-Sim configuration options are used to enable GPUWattch
- power_simulation_enabled 1 (1=Enabled, 0=Not enabled)
- - mcpat_xml_file <filename>.xml
+ - gpuwattch_xml_file <filename>.xml
-The McPAT XML configuration file name is set to mcpat.xml by default and
-currently only supplied for GTX480. Please refer to
+The GPUWattch XML configuration file name is set to gpuwattch.xml by default and
+currently only supplied for GTX480 (default=gpuwattch_gtx480.xml). Please refer to
<http://gpgpu-sim.org/gpuwattch/> for more information.
Running OpenCL applications is identical to running CUDA applications. However,
diff --git a/configs/GTX480/gpgpusim.config b/configs/GTX480/gpgpusim.config
index 4fc7a13..e792bb3 100644
--- a/configs/GTX480/gpgpusim.config
+++ b/configs/GTX480/gpgpusim.config
@@ -115,3 +115,4 @@
# power model configs
-power_simulation_enabled 1
+-gpuwattch_xml_file gpuwattch_gtx480.xml
diff --git a/src/gpgpu-sim/gpu-sim.cc b/src/gpgpu-sim/gpu-sim.cc
index bb3dc8b..bea0ad9 100644
--- a/src/gpgpu-sim/gpu-sim.cc
+++ b/src/gpgpu-sim/gpu-sim.cc
@@ -101,9 +101,9 @@ void power_config::reg_options(class OptionParser * opp)
{
- option_parser_register(opp, "-mcpat_xml_file", OPT_CSTR,
- &g_power_config_name,"McPAT XML file",
- "mcpat.xml");
+ option_parser_register(opp, "-gpuwattch_xml_file", OPT_CSTR,
+ &g_power_config_name,"GPUWattch XML file",
+ "gpuwattch.xml");
option_parser_register(opp, "-power_simulation_enabled", OPT_BOOL,
&g_power_simulation_enabled, "Turn on power simulator (1=On, 0=Off)",