summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/local_interconnect.cc
diff options
context:
space:
mode:
authorAhmad Alawneh <[email protected]>2023-07-06 01:18:20 -0400
committerGitHub <[email protected]>2023-07-06 01:18:20 -0400
commita42b72214b92b6a97f16c180ad09631cbe50da33 (patch)
tree61bba4462fde2ba21e00a166a952edd1087b9ca9 /src/gpgpu-sim/local_interconnect.cc
parent58beccb510bb892de56b466ac764f24297affebd (diff)
parent1ce9febc61ab0e50c01ceea424cbf3e12a149366 (diff)
Merge pull request #59 from LAhmos/all_warn
Diffstat (limited to 'src/gpgpu-sim/local_interconnect.cc')
-rw-r--r--src/gpgpu-sim/local_interconnect.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpgpu-sim/local_interconnect.cc b/src/gpgpu-sim/local_interconnect.cc
index df6bd7b..fe7bc74 100644
--- a/src/gpgpu-sim/local_interconnect.cc
+++ b/src/gpgpu-sim/local_interconnect.cc
@@ -148,8 +148,8 @@ void xbar_router::RR_Advance() {
}
}
}
-
- next_node_id = (++next_node_id % total_nodes);
+ next_node_id = next_node_id + 1 ;
+ next_node_id = (next_node_id % total_nodes);
conflicts += conflict_sub;
if (active) {