From 7c67c73a642794e2f95cb9b7f5b8377363adc0f2 Mon Sep 17 00:00:00 2001 From: Ahmed El-Shafiey Date: Wed, 19 Dec 2012 06:52:31 -0800 Subject: 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] --- src/gpuwattch/interconnect.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gpuwattch/interconnect.h') 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, -- cgit v1.3