Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
codes
codes
Commits
471230b8
Commit
471230b8
authored
Apr 07, 2018
by
Neil McGlohon
Browse files
Dragonfly Custom: Added Num VCs Override Config
parent
e3cd292f
Changes
1
Show whitespace changes
Inline
Side-by-side
src/networks/model-net/dragonfly-custom.C
View file @
471230b8
...
...
@@ -577,10 +577,16 @@ static void dragonfly_read_config(const char * anno, dragonfly_param *params){
routing
=
-
1
;
}
rc
=
configuration_get_value_int
(
&
config
,
"PARAMS"
,
"num_vcs_override"
,
anno
,
&
p
->
num_vcs
);
if
(
rc
)
{
if
(
routing
==
PROG_ADAPTIVE
)
p
->
num_vcs
=
10
;
else
p
->
num_vcs
=
8
;
}
else
{
printf
(
"Overriding num_vcs: p->num_vcs=%d
\n
"
%
p
->
num_vcs
);
}
rc
=
configuration_get_value_int
(
&
config
,
"PARAMS"
,
"num_groups"
,
anno
,
&
p
->
num_groups
);
if
(
rc
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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