Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
codes
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
38
Issues
38
List
Boards
Labels
Milestones
Merge Requests
8
Merge Requests
8
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
codes
codes
Commits
471230b8
Commit
471230b8
authored
Apr 07, 2018
by
Neil McGlohon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dragonfly Custom: Added Num VCs Override Config
parent
e3cd292f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
src/networks/model-net/dragonfly-custom.C
src/networks/model-net/dragonfly-custom.C
+10
-4
No files found.
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
;
}
if
(
routing
==
PROG_ADAPTIVE
)
p
->
num_vcs
=
10
;
else
p
->
num_vcs
=
8
;
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
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