diff options
| author | tgrogers <[email protected]> | 2015-06-01 11:26:25 -0700 |
|---|---|---|
| committer | tgrogers <[email protected]> | 2015-06-01 11:26:25 -0700 |
| commit | 3ab52d670fbe4fc79eeba1c9a0061dba69fad3b5 (patch) | |
| tree | 31a38688b683c904c8e782bb434ad5088f64b398 /src/intersim2 | |
| parent | 091cbc85b89043c99041582156215a87afbebaf4 (diff) | |
| parent | 93b270cd01a1f0cfa6d67e4dc16df3214f9ffc5a (diff) | |
Merge pull request #12 from qqldd/dev
Fixed bug #88. Initial ejection buffer and boundary buffer with the interconnection node number
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); |
