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 | |
| parent | 0b55a95f4389a45fec6ff94e35ded72b42433a29 (diff) | |
Fixed bug #88. Initial ejection buffer and boundary buffer with the interconnection node number
Signed-off-by: Myrice <[email protected]>
| -rw-r--r-- | CHANGES | 1 | ||||
| -rw-r--r-- | src/intersim2/interconnect_interface.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -11,6 +11,7 @@ Version 3.2.3+edits (development branch) versus 3.2.3 - Bug fixes: - Fixed bug #81, fix ordering of pushing branch entries to the stack - Fixed a bug where for each icache miss we also count a hit + - Fixed bug #88, Ejection buffer and Boundary buffer in Intersim2 initialization with a wrong node number Version 3.2.3 versus 3.2.2 - Bug fixes: 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); |
