summaryrefslogtreecommitdiff
path: root/src/gpgpu-sim/local_interconnect.cc
diff options
context:
space:
mode:
authorAaron Barnes <[email protected]>2023-08-07 12:27:43 -0400
committerGitHub <[email protected]>2023-08-07 12:27:43 -0400
commit57452f0afc9f25118ef03aa317669331feaa8571 (patch)
treec617f1a97f6549642034de7d6f3b70723bc6ba75 /src/gpgpu-sim/local_interconnect.cc
parent712b6104e7399b2dd42c25b4cd788f0f36b5b39d (diff)
parenta42b72214b92b6a97f16c180ad09631cbe50da33 (diff)
Merge branch 'dev' into fix-stats
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) {