From 93b270cd01a1f0cfa6d67e4dc16df3214f9ffc5a Mon Sep 17 00:00:00 2001 From: Myrice Date: Wed, 8 Apr 2015 20:42:07 -0700 Subject: Fixed bug #88. Initial ejection buffer and boundary buffer with the interconnection node number Signed-off-by: Myrice --- CHANGES | 1 + src/intersim2/interconnect_interface.cpp | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 4a6f6e2..216490e 100644 --- a/CHANGES +++ b/CHANGES @@ -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); -- cgit v1.3