diff options
| author | Ahmad Alawneh <[email protected]> | 2023-06-20 14:42:00 -0400 |
|---|---|---|
| committer | Ahmad Alawneh <[email protected]> | 2023-06-20 14:42:00 -0400 |
| commit | 68a91076b2aab8f60bae551d6df6b3a8aa411463 (patch) | |
| tree | d380fa98c220285ef4f3fc5b152ba1d314f04fdb /src/gpgpu-sim/local_interconnect.cc | |
| parent | 24a35fbd683606efabae8d60a3283dc2bd2a66b0 (diff) | |
fix most c warnings
Diffstat (limited to 'src/gpgpu-sim/local_interconnect.cc')
| -rw-r--r-- | src/gpgpu-sim/local_interconnect.cc | 4 |
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) { |
