diff options
| author | Myrice <[email protected]> | 2015-04-08 20:42:07 -0700 |
|---|---|---|
| committer | Myrice <[email protected]> | 2015-04-08 20:42:07 -0700 |
| commit | 93b270cd01a1f0cfa6d67e4dc16df3214f9ffc5a (patch) | |
| tree | 31a38688b683c904c8e782bb434ad5088f64b398 /src/intersim2 | |
| parent | 0b55a95f4389a45fec6ff94e35ded72b42433a29 (diff) | |
Fixed bug #88. Initial ejection buffer and boundary buffer with the interconnection node number
Signed-off-by: Myrice <[email protected]>
Diffstat (limited to 'src/intersim2')
| -rw-r--r-- | src/intersim2/interconnect_interface.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intersim2/interconnect_interface.cpp b/src/intersim2/interconnect_interface.cpp index 18a7083..4386821 100644 --- a/src/intersim2/interconnect_interface.cpp +++ b/src/intersim2/interconnect_interface.cpp @@ -364,7 +364,7 @@ Flit* InterconnectInterface::GetEjectedFlit(int subnet, int node) void InterconnectInterface::_CreateBuffer() { - unsigned nodes = _n_shader + _n_mem; + unsigned nodes = _net[0]->NumNodes(); _boundary_buffer.resize(_subnets); _ejection_buffer.resize(_subnets); |
