summaryrefslogtreecommitdiff
path: root/src/mcpat/gpgpu_sim_wrapper.cc
diff options
context:
space:
mode:
authorAhmed El-Shafiey <[email protected]>2012-11-30 23:07:40 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:49:22 -0700
commita4e786e7ba32deb2877722650a907ccdb1bef096 (patch)
treead16af8eb995fcd05b3eda579284e192ea9cb6a3 /src/mcpat/gpgpu_sim_wrapper.cc
parentaab87f149f7442d1447cbb82cc6290d185a56aa5 (diff)
fixing a segfault problem for Quadro config with interconnect stats
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 14737]
Diffstat (limited to 'src/mcpat/gpgpu_sim_wrapper.cc')
-rw-r--r--src/mcpat/gpgpu_sim_wrapper.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mcpat/gpgpu_sim_wrapper.cc b/src/mcpat/gpgpu_sim_wrapper.cc
index 0ed7f57..1b06e26 100644
--- a/src/mcpat/gpgpu_sim_wrapper.cc
+++ b/src/mcpat/gpgpu_sim_wrapper.cc
@@ -241,7 +241,7 @@ void gpgpu_sim_wrapper::set_inst_power(bool clk_gated_lanes, double tot_cycles,
p->sys.core[0].gpgpu_clock_gated_lanes = clk_gated_lanes;
p->sys.core[0].total_cycles = tot_cycles;
p->sys.core[0].busy_cycles = busy_cycles;
- p->sys.core[0].total_instructions = tot_inst * p->sys.scaling_coefficients[TOT_INST];;
+ p->sys.core[0].total_instructions = tot_inst * p->sys.scaling_coefficients[TOT_INST];
p->sys.core[0].int_instructions = int_inst * p->sys.scaling_coefficients[FP_INT];
p->sys.core[0].fp_instructions = fp_inst * p->sys.scaling_coefficients[FP_INT];
p->sys.core[0].load_instructions = load_inst;