Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
codes
codes
Commits
9246469e
Commit
9246469e
authored
May 03, 2017
by
Misbah Mubarak
Browse files
Removing the bias for minimal routing
parent
8069dde8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/networks/model-net/dragonfly-custom.C
View file @
9246469e
...
...
@@ -2436,7 +2436,8 @@ static void do_local_adaptive_routing(router_state * s,
int
local_stop
=
-
1
;
tw_lpid
global_stop
;
if
(
nonmin_port_count
*
num_intra_nonmin_hops
>
min_port_count
*
num_intra_min_hops
)
// if(nonmin_port_count * num_intra_nonmin_hops > min_port_count * num_intra_min_hops)
if
(
nonmin_port_count
>
min_port_count
)
{
msg
->
path_type
=
MINIMAL
;
}
...
...
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