summaryrefslogtreecommitdiff
path: root/src/gpuwattch/interconnect.h
diff options
context:
space:
mode:
authorAhmed El-Shafiey <[email protected]>2012-12-19 06:52:31 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:49:23 -0700
commit7c67c73a642794e2f95cb9b7f5b8377363adc0f2 (patch)
tree7bf867e60550a888480a5ae613019de76ec272f1 /src/gpuwattch/interconnect.h
parentecdbb77acbbc8613aefa2f2e5408ff3a6bf84865 (diff)
fixig more valgrind errors in CACTI due to uinitialized variables + fixing a bug in the interconect stats (initializing the n_mem_to_simt metric to zero)
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 14843]
Diffstat (limited to 'src/gpuwattch/interconnect.h')
-rw-r--r--src/gpuwattch/interconnect.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpuwattch/interconnect.h b/src/gpuwattch/interconnect.h
index 19940d5..9471c7a 100644
--- a/src/gpuwattch/interconnect.h
+++ b/src/gpuwattch/interconnect.h
@@ -51,8 +51,8 @@ class interconnect : public Component
interconnect(
string name_,
enum Device_ty device_ty_,
- double base_w, double base_h, int data_w, double len,
- const InputParameter *configure_interface, int start_wiring_level_,
+ double base_w =0, double base_h =0, int data_w =0, double len =0,
+ const InputParameter *configure_interface = NULL, int start_wiring_level_ =0,
bool pipelinable_ = false,
double route_over_perc_ =0.5,
bool opt_local_=true,