summaryrefslogtreecommitdiff
path: root/src/intersim2/networks/dragonfly.cpp
diff options
context:
space:
mode:
authorDongdong Li <[email protected]>2013-11-22 11:31:19 -0800
committerAndrew Boktor <[email protected]>2014-08-14 13:50:59 -0700
commit3f74773ce1ffe8ed5044a103d84459b56d4e9c20 (patch)
treef7265582ead4f320b890fa744ac6af093b9e27e0 /src/intersim2/networks/dragonfly.cpp
parent24f29469c042761d8b8d185c374493fbde79aca4 (diff)
Update with Booksim2.0 from Stanford
- Warning fixed - Unused file deleted - Add support for node map configuration. Code Review: Issue 93001 [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 17410]
Diffstat (limited to 'src/intersim2/networks/dragonfly.cpp')
-rw-r--r--src/intersim2/networks/dragonfly.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/intersim2/networks/dragonfly.cpp b/src/intersim2/networks/dragonfly.cpp
index b539cc6..01a2281 100644
--- a/src/intersim2/networks/dragonfly.cpp
+++ b/src/intersim2/networks/dragonfly.cpp
@@ -217,12 +217,12 @@ void DragonFlyNew::_ComputeSize( const Configuration &config )
void DragonFlyNew::_BuildNet( const Configuration &config )
{
- int _output;
- int _input;
+ int _output=-1;
+ int _input=-1;
+ int _dim_ID=-1;
+ int _num_ports_per_switch=-1;
+ int _dim_size=-1;
int c;
- int _dim_ID;
- int _num_ports_per_switch;
- int _dim_size;
ostringstream router_name;