Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
codes-dev
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xin Wang
codes-dev
Commits
2a7724c1
Commit
2a7724c1
authored
Apr 19, 2017
by
Misbah Mubarak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing adaptive routing VC issue
parent
4047d77b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/networks/model-net/dragonfly-custom.C
src/networks/model-net/dragonfly-custom.C
+2
-2
No files found.
src/networks/model-net/dragonfly-custom.C
View file @
2a7724c1
...
...
@@ -2839,8 +2839,8 @@ router_packet_receive( router_state * s,
}
else
if
(
cur_chunk
->
msg
.
my_g_hop
==
2
)
{
if
(
routing
==
PROG_ADAPTIVE
&&
cur_chunk
->
msg
.
my_l_hop
<
6
)
{
cur_chunk
->
msg
.
my_l_hop
=
6
;
}
else
if
(
cur_chunk
->
msg
.
my_l_hop
<
8
)
{
cur_chunk
->
msg
.
my_l_hop
=
8
;
}
else
if
(
cur_chunk
->
msg
.
my_l_hop
<
4
)
{
cur_chunk
->
msg
.
my_l_hop
=
4
;
}
}
output_chan
=
cur_chunk
->
msg
.
my_l_hop
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment